Controls code to enable or disable the profiler.
#pragma profile on | off | reset
This setting lets you choose whether the compiler adds code to a function to call profiler library functions. If you enable this pragma, the compiler calls profiling functions at the beginning and end of the current function. If you disable this pragma, the compiler adds no additional code. For further information on the profiler, see the Chapter "Profiler" in either of the Targeting Manuals.
The pragma corresponds to the Generate code for profiling setting on the M56800E Processor settings panel. To check this setting, use __option (profile), described in Checking Pragma Settings. By default, this pragma is disabled.