Intel® VTune™ Amplifier

Build Application

Before you start analyzing hardware issues affecting the performance of your application, do the following:

  1. Get software tools.

  2. Build application with full optimizations.

Get Software Tools

You need the following tools to try tutorial steps yourself using the matrix sample application:

Acquire Intel VTune Amplifier

If you do not already have access to the VTune Amplifier, you can download an evaluation copy from http://software.intel.com/en-us/articles/intel-software-evaluation-center/.

Note

This document focuses on using the VTune™ Amplifier in Intel® Parallel Studio XE Professional Edition. You may see minor differences if you installed a different Intel product. For more information on product capabilities in your installed product, see the product-specific supplemental documentation in <install-dir>/<Intel_product>/documentation/.

Install and Set Up VTune Amplifier Sample Applications

  1. Copy the matrix_vtune_amp_xe.tgz file from the <install_dir>/samples/<locale>/C++ directory to a writable directory or share on your system. The default installation path is opt/intel/vtune_amplifier_xe_2016.

  2. Extract the sample from the .tgz file.

  3. Ensure you have set the EDITOR or VISUAL environment variable to your text editor.

Note

  • Samples are non-deterministic. Your screens may vary from the screen captures shown throughout this tutorial.
  • Samples are designed only to illustrate the VTune Amplifier features; they do not represent best practices for creating code.

Build the Target

Build the target with full optimizations, which is recommended for the performance analysis.

  1. Browse to the directory where you extracted the sample code (for example, /home/sample/matrix/linux). Make sure this directory contains Makefile.

  2. Build your target in the release mode using the make command.

    The matrix application is automatically built with the GNU* compiler (as matrix.gcc) and stored in the matrix/linux directory.

Key Terms

Target

Next Step

Configure and Run Analysis

Optimization Notice

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804