/PROFILE (Performance Tools Profiler)

 

The latest version of this topic can be found at -PROFILE (Performance Tools Profiler).

Produces an output file that can be used with the Performance Tools profiler.

Syntax

/PROFILE  

Remarks

/PROFILE implies the following linker options:

/PROFILE causes the linker to generate a relocation section in the program image. A relocation section allows the profiler to transform the program image to get profile data.

/PROFILE is only available only in Enterprise (team development) versions. For more information on PREfast, see Code Analysis for C/C++ Overview.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.

  2. Expand the Configuration Properties node.

  3. Expand the Linker node.

  4. Select the Advanced property page.

  5. Modify the Profile property.

To set this linker option programmatically

  1. See Profile.

See Also

Setting Linker Options
Linker Options