set GENERATE PROFILING CODE to YES