/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 Code Analysis for C/C++ Overview.
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.
Expand the Configuration Properties node.
Expand the Linker node.
Select the Advanced property page.
Modify the Profile property.
To set this linker option programmatically