Run the Profiler from the Development Environment
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.
- In the Profile Type box, click one of the following option buttons:
Use Custom and the Custom Settings text box to run a batch file that contains profiler commands. See Run the Profiler from the Command Line for information on why you might want to batch and execute your own profiler commands. See Running a Custom Batch File for more information on specifying a batch file from the development environment.
Advanced settings is where you can specify PREP Phase I options.
- 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.