Home | Overview | How Do I | Compiler Options
Feature Only in Professional and Enterprise Editions Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see Visual C++ Editions.
This option calls __penter at the start of every method or function. The __penter function is not part of any library. This call is a hook for your use. Use assembly language to write the function.
Unless you plan to explicitly call __penter, you do not need to provide a prototype. The function must appear as if it had the following prototype, and it must push the content of all registers on entry and pop the unchanged content on exit:
void __cdecl __penter( void );