__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 does not specify this symbol.