Share via


Run the Profiler from the Development Environment

OverviewDetails

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

The development environment will profile the active project’s target. To profile more than one project, you should use custom batch files; see Profiling Multiple .DLL and .EXE Files for more information.

See Select Code to Profile for information on how to specify which code shall be profiled.

To run the profiler from the development environment

On the Build menu, choose Profile to display the Profile dialog box, as shown in the figure below.

  1. In the Profile Type box, click one of the following option buttons:
  2. Click OK.

Profile Dialog Box

Note   If you haven’t built your current project with profiling enabled, an error message lets you know that you need to rebuild your project. See Enable Profiling for more information.