Delen via


/PROFILE (Performance Tools Profiler)

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

/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

See Also

Reference

Setting Linker Options

Linker Options