Select Code to Profile

OverviewDetails

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

It usually doesn’t make much sense to profile an entire program, because in most applications for Windows, the majority of the application’s time is spent waiting for messages. Often, only one section of a program, such as repagination, might be performing poorly. Narrowing the region of code being profiled can speed up the execution of profiler sessions.

To narrow the area being profiled, see: