Intel® VTune™ Amplifier
Intel® VTune™ Amplifier offers several tools you can use as you learn, including:
VTune Amplifier XE provides several tutorials that use sample code to explain how to:
Identify where your application is spending time, detect the most time-consuming program units and how they were called.
Identify locks and waits preventing parallelization.
Identify hardware-related issues in your application such as data sharing, cache misses, branch misprediction, and others.
VTune Amplifier for Systems provides tutorials that provide hands-on instructions how to:
Configure and run the Advanced Hotspots analysis on a remote embedded Linux system and view the collected data on the Linux* or Windows* host.
Configure and run the Basic Hotspots analysis on a remote Android* system and view the collected data on the Linux or Windows host.
Configure and run the Energy Analysis on a target Android system using the command line Intel SoC Watch collector and import and view the collected data with VTune Amplifier GUI on the Linux or Windows host.
You can access the tutorials from:
Documentation Index at <install_dir>/documentation/<locale>/documentation_amplifier.htm in the Intel VTune Amplifier installation folder.
The default installation path for the VTune Amplifier XE is /opt/intel/vtune_amplifier_xe_version. For the VTune Amplifier for Systems, the default <install_dir> is:
Getting Started page, Quick Links section, available from:
Help menu - Choose Help > Getting Started with Intel VTune Amplifier 2016 for Systems
Help toolbar button
Intel Developer Zone at https://software.intel.com/en-us/articles/intel-vtune-amplifier-tutorials
VTune Amplifier ships with the following code samples:
|
Sample Application |
Summary |
Location |
|---|---|---|
|
tachyon_find_hotspots Displays a rendering of a graphical image via 2D ray tracing. |
Demonstrates: Identifying hotspot functions and code lines in a C++ application. Performance issues: wrong algorithm choice, ineffective parallelization. Companion tutorial: Finding Hotspots (VTune Amplifier XE, VTune Amplifier for Systems) |
<install_dir>/samples/tachyon_vtune_amp_xe.tar.gz |
|
tachyon_analyze_locks Displays a rendering of a graphical image via 2D ray tracing. |
Demonstrates: Identifying locks preventing efficient parallelism in a C++ application. Performance issues: locks and waits. Companion tutorial: Analyzing Locks and Waits(VTune Amplifier XE) |
install_dir>/samples/tachyon_vtune_amp_xe.tar.gz |
|
matrix Calculates matrix transformations. |
Demonstrates: Identifying general hardware issues in a C++ application on the host system and on the Intel® Xeon Phi™ coprocessor (code name: Knights Corner). Performance issues: poor CPI rate, cache misses, retire stalls, execution stalls, and others. Companion tutorials: Identifying Hardware Issues and Finding Hotspots on the Intel Xeon Phi Coprocessor (VTune Amplifier XE) |
install_dir>/samples/matrix_vtune_amp_xe.tar.gz |
|
nqueens_parallel Solves the nqueens problem for various board sizes. |
Demonstrates: Identifying general hardware issues in a Fortran application. Performance issues: thread contention, ineffective parallelization. Companion tutorial: Finding Hotspots (VTune Amplifier XE) |
install_dir>/samples/nqueens_parallel.tar.gz |
|
jitprofiling |
Demonstrates: Using the JIT profiling API. |
install_dir>/samples/jitprofiling.tar.gz |
|
serial_nqueens_csharp parallel_nqueens_csharp Computes the number of solutions to the nQueens problem for a given board size. |
Demonstrates: Identifying hotspots in a Microsoft Visual C#* application. |
install_dir>/samples/jitprofiling.tar.gz |
To install and set up the VTune Amplifier sample code:
Copy the .tar.gz 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.