Tutorial

  • 2021.1
  • 12/04/2020
  • 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
memory
errors using the
Intel Inspector
and a
C++
sample application.
To check if your edits fixed the
Mismatched allocation/deallocation
problem:

Rebuild the Application

In the terminal session:
  1. Change directory to the
    tachyon_insp_xe/
    directory.
  2. Type
    make
    .

Rerun the Analysis

To run another analysis of the same analysis type:
In the
Intel Inspector
standalone GUI, choose
File
New
Memory Error Analysis / Detect Memory Problems
.
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:
    r002mi2
    .
  • No longer detects the
    Mismatched allocation/deallocation
    problem
    in the
    find_and_fix_memory_errors.cpp
    source file
    .

Product and Performance Information

1

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