Intel® VTune™ Profiler

User Guide

ID 766319
Date 3/22/2024

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Tutorials and Samples

Use this library of tutorials and guided code samples to improve your understanding of Intel® VTune™ Profiler. Follow procedures described in these materials to run analyses and interpret results.

Tutorial: Analyze Common Performance Bottlenecks (C++ Sample Code)

Linux* version: HTML

Windows* version: HTML

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

Learning Objectives:

  • Demonstration: Iterative optimization with VTune Profiler to find bottlenecks in algorithmic and hardware utilization

  • Performance issues: Memory access, Vectorization

  • Analysis Types: Performance Snapshot, Hotspots, Memory Access, HPC Performance Characterization, Microarchitecture Exploration

Tutorial: Analyzing an OpenMP* and MPI Application (C++ Sample Code)

Linux* version: HTML

Sample: heart_demo C++ application that simulates electrophysiological heart activity. You can access the sample code at

Learning Objectives:

  • Demonstration: Identify issues in a hybrid OpenMP and MPI application.

  • Tools used: Application Performance Snapshot (APS), Intel Trace Analyzer and Collector

  • Analysis Types: HPC Performance Characterization analysis

Code Sample Library

Find guided samples for VTune Profiler in the code sample library on Github.

Performance Analysis Cookbook

The VTune Profiler Performance Analysis Cookbook features a collection of technical recipes that target typical use cases and common challenges in software performance analysis.

Install and Set Up VTune Profiler 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.


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

  • Samples are designed only to illustrate the VTune Profiler 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.