Intel® VTune™ Amplifier offers several tools you can use as you learn, including:
About Tutorials
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.
You can access the tutorials from:
Windows* Start menu - Choose Start> Intel Studio version> Tutorials> Intel VTune Amplifier version Tutorials
Documentation Index - Choose Start> Intel Studio version> Documentation> Intel VTune Amplifier version Documentation or at
<install_dir>\documentation\<locale>\documentation_amplifier.htm
in the Intel VTune Amplifier installation folder.Note
The default installation path for the VTune Amplifier XE is
[Program Files]\Intel\VTune Amplifier XE 2015
. For the VTune Amplifier for Systems installed as part of Intel System Studio, the default<install_dir>
is[Program Files]\Intel\System Studio 2015.0.xxx\VTune Amplifier 2015 for Systems.
Getting Started page, Quick Links section, available from:
(VTune Amplifier XE only) Visual Studio* 2010/2012/2013 Help menu - Choose Help> Intel VTune Amplifier 2015> Getting Started with Intel VTune Amplifier 2015
Standalone VTune Amplifier interface Help menu - Choose Help> Getting Started with Intel VTune Amplifier 2015 for Systems
Help toolbar button
Intel Developer Zone at https://software.intel.com/en-us/articles/intel-vtune-amplifier-tutorials
About Sample Applications
VTune Amplifier ships with the following code samples:
Sample Application | Summary | Location |
---|---|---|
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) |
|
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) |
|
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) |
|
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) | Intel® 64 architecture: |
| Demonstrates: Using the JIT profiling API. |
|
Computes the number of solutions to the nQueens problem for a given board size. | Demonstrates: Identifying hotspots in a Microsoft Visual C#* application. |
|
To install and set up the VTune Amplifier sample code:
Copy the
.zip
file from the installation directory to a writable directory or share on your system.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.