|
VTune™ Performance Analyzer
To generate code with the Intel® C++ or Fortran Compilers that is optimal for analysis by the VTune™ Performance Analyzer, follow these steps:
- On Windows*
Make sure you are using an optimized (Release) build, not the Debug build configuration. Add the /Zi compiler option and /debug linker options to generate debugging information (in the Microsoft Visual Studio* 2005 IDE, this is under Language » Debug Information Format and Linker » Generate Debug Info in your project settings).
If you are using Call Graph functionality, be sure to add /fixed:no to your Linker settings. In the IDE, set Linker Advanced » Fixed Base Address to "Generate a Relocation Section". For more information, refer to the VTune™ Performance Analyzer User's Guide.
- On Linux*
Add the -g compiler option to generate debugging information. Make sure that symbols aren't being stripped at the end of your build process.
Intel® Thread Profiler
To generate code with the Intel C++ or Fortran Compilers that is optimal for analysis by the Intel® Thread Profiler, please use the /Qtprofile (Windows) or -tprofile (Linux) compiler options when you build your application. Again, make sure this code is an optimized build.
This applies to:
|