__profile__

Preprocessor macro that specifies whether or not the compiler is generating object code for a profiler.

Syntax
  __profile__
  
  
Remarks

Defined as 1 when generating object code that works with a profiler, otherwise undefined. The ISO standards do not specify this symbol.