|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
/PROFILE (Performance Tools Profiler)
Produces an output file that can be used with the Performance Tools profiler.
/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.
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see.
Expand the Configuration Properties node.
Expand the Linker node.
Select the Advanced property page.
Modify the Profile property.
To set this linker option programmatically