Tutorial: Finding Hotspots - C++ Sample Code

Intel® VTune™ Amplifier for Linux* OS

Legal Information



Discover how to use Basic Hotspots analysis of the Intel® VTune™ Amplifier to understand where your application is spending time, identify hotspots - the most time-consuming program units, and detect how they were called.

Basic Hotspots analysis is useful to analyze the performance of both serial and parallel applications.

About This Tutorial

This tutorial uses the sample tachyon and guides you through basic steps required to analyze the code for hotspots.

Estimated Duration

10-15 minutes.

Learning Objectives

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

  • Choose an analysis target.

  • Choose the Basic Hotspots analysis type.

  • Run the Basic Hotspots analysis to locate most time-consuming functions in an application.

  • Analyze the function call flow and threads.

  • Analyze the source code to locate the most time-critical code lines.

  • Compare results before and after optimization.

More Resources

Start Here