Tutorial

Tutorial: Finding Hotspots and Hardware Issues with
Intel® VTune™
Profiler
- C++ Sample Code (
Linux
* OS)

Intel® VTune™
Profiler
for
Linux
* OS
Discover how to use the Hotspots and Microarchitecture Exploration analysis types available in the
Intel® VTune™
Profiler
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 Profiler 2020 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
    Profiler
    .
  • Run the Hotspots analysis to locate the 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

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.