Intel® VTune™ Amplifier

Building a Target

Before you begin analyzing your target for performance, you need to build it as follows:

  1. Enable downloading debug information for the system libraries bydownloading and installing debug info packages available for your system version.

  2. Enable debug information generation for your binary files by using the -g option when compiling your code.

  3. Build your target in the Release mode.

  4. Create a baseline against which you can compare the performance improvements as a result of tuning.

For example, you instrument your code to determine how long it takes to compress a certain file. Your original target code, augmented to provide these timing data, serves as your performance baseline. Every time you modify your target, compare the performance metrics of your optimized target with the baseline, to verify that the performance has improved.

See Also