Tutorial

Run Hotspots Analysis

In this part of the tutorial, you open the Matrix sample project and run the Hotspots analysis with user-mode sampling to identify the hotspots that took too much time to execute.

Open Matrix Sample Project

To analyze your target in the
VTune
Profiler
, you need to create or open a project, which is a container for an analysis target configuration and data collection results.
VTune
Profiler
provides a sample project pre-configured to work with the pre-built
matrix
sample application.
  1. Launch
    Intel VTune
    Profiler
    GUI.
    1. Run the
      <install-dir>
      \env\vars.bat
      script to set the appropriate environment variables, where
      <install-dir>
      is
      [Program Files]\IntelSWTools\
      VTune
      Profiler
       
      version
      .
    2. For
      VTune
      Profiler
      standalone version or the version installed with Intel Parallel Studio, search for
      Intel
      VTune
      Profiler
       
      version
      in the
      Start
      menu. For
      VTune
      Profiler
      installed with Intel System Studio, open the Intel® System Studio Eclipse* IDE and select
      VTune
      Profiler
      from the
      Tools
      menu.
    The
    VTune
    Profiler
     
    Welcome
    screen is displayed after the product launches. The Matrix project and r000hs result file may already be open in the
    Project Navigator
    . If so, no further action is required.
    If the Matrix project is not available from the
    Project Navigator
    , click the menu button and select
    Open > Project...
    to open an existing project.
  2. Browse to the Matrix project on your local system and click
    Open
    . By default, this is located in the
    C:\Users\
    <user>
    \Documents\VTune\Projects\sample (matrix)
    directory.
    VTune
    Profiler
    opens the Matrix project in the
    Project Navigator
    .
This tutorial uses the pre-built
matrix
sample application. When you use your own application for analysis, be sure to build the application in the Release mode with full optimizations and establish a performance baseline before running a full analysis. For more information, see the
VTune
Profiler
User Guide
.

Run Hotspots Analysis

  1. Click
    Configure Analysis
    button to begin a new analysis.
    The default analysis is pre-configured for the entry-level
    Hotspots
    analysis to profile the
    matrix
    application on the local system.
    Intel VTune Profiler Configure Analysis window showing local Hotspots analysis on matrix application
  2. Click the
    Start
    button to run the analysis.
VTune
Profiler
launches the
matrix
application that calculates matrix multiplication before exiting.
VTune
Profiler
finalizes the collected results and opens the
Hotspots by CPU Utilization
viewpoint.
To make sure the performance of the application is repeatable, go through the entire tuning process on the same system with a minimal amount of other software executing.
This tutorial explains how to run an analysis from the
VTune
Profiler
graphical user interface (GUI). You can also use the
VTune
Profiler
command-line interface (
vtune
command) to run an analysis. A simple way to get the appropriate command syntax is by clicking the
Command Line
button at the bottom of the window. For more details, check the
Intel VTune
Profiler
Command Line Interface
section of the
VTune
Profiler
User Guide
.

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