Tutorial: Finding Hotspots - C++ Sample Code (Windows* OS)

Intel® VTune™ Amplifier for Windows* OS

Legal Information


Discover how to use the Hotspots and Microarchitecture Exploration analysis types available in the Intel® VTune™ Amplifier to understand where your application is spending time, identify hotspots - the most time-consuming program units, and detect hardware usage bottlenecks for a sample application.

About This Tutorial

This tutorial uses the sample matrix and guides you through basic steps required to analyze the code for hotspots and hardware usage bottlenecks.

The tutorial was last updated for the Intel VTune Amplifier 2019 Update 1 product release.

Estimated Duration

10-15 minutes.

Learning Objectives

After you complete this tutorial, you should be able to:

  • Open the pre-configured Matrix sample project in Intel VTune Amplifier.

  • Run the Hotspots analysis to locate most time-consuming functions in the matrix sample application and identify next steps for optimization.

  • Run the Microarchitecture Exploration analysis to identify hardware usage bottlenecks in the application.

  • Analyze the source code to locate the lines of code with memory access bottlenecks.

  • Compare results before and after optimization.

More Resources

Start Here

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)