Intel® VTune™ Amplifier 2018 Help
Intel® VTune™ Amplifier provides web tutorials using sample code for step-by-step instructions on configuring and interpreting performance analysis.
You can access tutorials from the Intel Developer Zone at https://software.intel.com/en-us/articles/intel-vtune-amplifier-tutorials. Sample code is also available at https://software.intel.com/en-us/product-code-samples.
For end-to-end analysis use cases, explore the Intel VTune Amplifier Cookbook.
Windows* Tutorials: HTML | PDF
Sample: tachyon_find_hotspots C++ application that displays a rendering of a graphical image via 2D ray tracing. You can access the sample code from:
Linux: <install_dir>/samples/<locale>/C++/tachyon_vtune_amp_xe.tgz
Windows: <install_dir>\samples\<locale>\C++\tachyon_vtune_amp_xe.zip
Learning Objective:
Demonstrates: Identifying the most time-consuming functions and code lines in a C++ application and analyzing a function call flow.
Performance issues: wrong algorithm choice, ineffective parallelization.
Analysis used: Basic Hotspots.
Windows* Tutorials: HTML | PDF
Sample: nqueens_parallel Fortran application that solves the nqueens problem for various board sizes. You can access the sample code from:
Linux: <install_dir>/samples/<locale>/Fortran/nqueens_fortran.tgz
Windows: <install_dir>/samples/<locale>/Fortran/nqueens_fortran.zip
Demonstrates: Identifying the most time-consuming program units, analyzing thread parallelism on available logical CPU cores, and identifying synchronization objects preventing parallelism in a Fortran application.
Performance issues: thread contention, ineffective parallelization.
Analysis used: Basic Hotspots, Concurrency, and Locks and Waits.
Windows* Tutorials: HTML | PDF
Sample: tachyon_analyze_locks C++ application that displays a rendering of a graphical image via 2D ray tracing. You can access the sample code from:
Linux: <install_dir>/samples/<locale>/C++/tachyon_vtune_amp_xe.tgz
Windows: <install_dir>\samples\<locale>\C++\tachyon_vtune_amp_xe.zip
Learning Objective:
Demonstrates: Identifying locks preventing efficient parallelism in a C++ application.
Performance issues: locks and waits.
Analysis used: Locks and Waits
Sample: diskio C++ application that works with the I/O device using the system file cache and user buffer. You can access the sample code from:
Linux: <install_dir>/samples/<locale>/C++/diskio_vtune_amp_xe.tgz
Learning Objective:
Demonstrates: Identifying ineffective usage of the I/O resources in a C++ I/O bound application.
Performance issues: CPU usage overhead, high I/O Wait Time, big I/O Queue Depth.
Analysis used: Disk Input and Output
Sample: linear_regression C application that generates summary statistics of points to give a linear approximation. You can access the sample code from:
Linux: <install_dir>/samples/<locale>/C++/linear_regression.tgz
Learning Objective:
Demonstrates: Identifying false sharing and its cause in a C application.
Performance issues: false sharing.
Analysis used: Memory Access.
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
Sample: tachyon_find_hotspots C++ application that displays a rendering of a graphical image via 2D ray tracing. You can access the sample code from:
Linux: <install_dir>/samples/<locale>/C++/tachyon_vtune_amp_xe.tgz
Learning Objective:
Demonstrates: Configuring a remote Linux embedded system built with the Yocto Project* 2.1 environment for application analysis with VTune Amplifier sampling drivers and identifying the most time-consuming program units.
Analysis used: Advanced Hotspots.
To install and set up the VTune Amplifier sample code:
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 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.