Tutorial

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

Intel® VTune™
Profiler
for
Windows
* 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

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804