Miscellaneous Profiler Restrictions

OverviewDetails

Feature Only in Professional and Enterprise Editions   Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .

Function-level profiling works only with ordinary functions that return with the stack pointer unchanged. Profiling should be turned off for functions that change the stack pointer or store the return address for later use. The profiler automatically turns off profiling for the functions alloca and setjmp. If you write your own similar functions, you must write them in assembly language. By default, assembly-language functions are excluded from profiling. Do not use these functions with the PREP /INC option.