Tutorials and Samples
Intel® VTune™
provides web tutorials using sample code for step-by-step instructions on configuring and interpreting performance analysis.
Profiler
Analyze Common Performance Bottlenecks - C++ Sample Code
Sample
: pre-built
matrix
C++ matrix multiplication application. The pre-built application is available from the
Project Navigator
when you first launch
Intel VTune
. You can access the sample code from:
Profiler
- Linux:<>/samples/en/C++/matrix
- Windows:<>\samples\en\C++\matrix
Learning Objective
:
- Demonstrates: Iterative application optimization withVTune, finding algorithmic and hardware utilization bottlenecksProfiler
- Performance issues: memory access, vectorization
- Analyses used: Performance Snapshot, Hotspots, Memory Access, HPC Performance Characterization, Microarchitecture Exploration
Analyzing an OpenMP* and MPI Application - C++ Sample Code
Linux* Tutorial
:
HTMLSample
:
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, andVTune's HPC Performance Characterization analysisProfiler
Performance Analysis Cookbook
For end-to-end tuning and configuration use cases, explore the
that introduces such recipes as:
VTune
Performance Analysis Cookbook Profiler
See
more recipes here.
To install and set up the
VTune
sample code:
Profiler
- Copy the archive file from the installation directory to a writable directory or share on your system.
- 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 theVTunefeatures 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.Profiler