Tutorial

  • 11/18/2019
  • Public Content

Rebuild and Rerun Analysis

Intel® Inspector
is a dynamic memory and threading error checking tool for users developing serial and multithreaded applications on Windows* and Linux* operating systems. This topic is part of a
tutorial
that shows how to find and fix
threading
errors using the
Intel Inspector
and a
C++
sample application.
To check if your edits resolved the
Data race
problems:

Rebuild the Application

If you are using the Visual Studio* IDE:
  1. Choose
    Build
    Clean Solution
    .
  2. Choose
    Build
    Rebuild Solution
    .
If you are using the
Intel Inspector
standalone GUI:
  1. In the previously opened command prompt window, change directory to the
    tachyon_insp_xe\
    directory.
  2. Type
    devenv vc10\tachyon_insp_xe.sln /Clean
    .
  3. Type
    devenv vc10\tachyon_insp_xe.sln /Build
    .

Rerun the Analysis

To run another analysis of the same analysis type:
  • From the Visual Studio* menu, choose
    Tools
    >
    Intel Inspector [version]
    >
    Threading Error Analysis / Detect Deadlocks and Data Races
    .
  • From the
    Intel Inspector
    standalone GUI menu, choose
    File
    New
    Threading Error Analysis / Detect Deadlocks and Data Races
    .
Notice the application output now displays properly.
The
Summary
window automatically displays after analysis (both collection and finalization) completes successfully:
Summary window
Notice the
Intel Inspector
:
  • Created a new result tab:
    r002ti2
    .
  • No longer detects
    Data race
    problems in the
    find_and_find_threading_errors.cpp
    source file.

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