Tutorials and Samples

Intel® VTune™ Amplifier provides web tutorials using sample code for step-by-step instructions on configuring and interpreting performance analysis.

Finding Hotspots - C++ Sample Code

Linux* Tutorials: HTML | PDF

Windows* Tutorials: HTML | PDF

Sample: pre-built matrix C++ matrix multiplication application. The pre-built application is available from the Project Navigator when you first launch Intel VTune Amplifier. You can access the sample code from:

  • Linux: /home/intel/amplxe/sample/matrix/src

  • Windows: C:\Users\<user>\Documents\Amplifier XE\sample\matrix\src

Learning Objective:

  • Demonstrates: Identifying the most time-consuming functions and code lines in a C++ application, analyzing a function call flow, and detecting hardware usage bottlenecks.

  • Performance issues: memory access

  • Analysis used: Hotspots (user-mode sampling mode) and Microarchitecture Exploration

Analyzing an OpenMP* and MPI Application - C++ Sample Code

Linux* Tutorial: HTML

Sample: heart_demo C++ application that simulates electrophysiological heart activity. You can access the sample code at https://github.com/CardiacDemo/Cardiac_demo.

Learning Objective:

  • Demonstrates: Identifying issues in a hybrid OpenMP and MPI application.

  • Analysis/tools used: Application Performance Snapshot (APS), Intel Trace Analyzer and Collector, and VTune Amplifier's HPC Performance Characterization analysis

Performance Analysis Cookbook

For end-to-end tuning and configuration use cases, explore the VTune Amplifier Performance Analysis Cookbook that introduces such recipes as:

See more recipes here.

To install and set up the VTune Amplifier sample code:

  1. Copy the archive file from the installation directory to a writable directory or share on your system.

  2. Extract the sample from the archive.

Note

  • Samples are non-deterministic. Your screens may vary from the screen shots shown throughout these tutorials.

  • Samples are designed only to illustrate the VTune Amplifier features and do not represent best practices for tuning any particular code. Results may vary depending on the nature of the analysis and the code to which it is applied.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)