Search
Support & Downloads
All of Support
This Category
Software Products
Performance Tools for Software Developers
Using the Intel® Compilers with VTune™ Analyzer or Intel® Thread Profiler

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:
Intel® C++ Compiler
Intel® C++ Compiler for Linux*
Intel® C++ Compiler for Windows*
Intel® Fortran Compiler
Intel® Fortran Compiler for Linux*
Intel® Fortran Compiler for Windows*
Intel® Thread Profiler
Intel® Thread Profiler for Windows*
Intel® VTune™ Performance Analyzer for Linux*
Intel® VTune™ Performance Analyzer for Windows*

Solution ID: CS-025878
Date Created: 11-Apr-2007
Last Modified: 18-May-2007
Back to Top