Understand the Analysis Type Window
- In the Analysis Type drop-down list, chooseThreading Error Analysis.
- Use the configuration slider to choose theDetect Deadlocks and Data Racespreset analysis type.
Navigationtoolbar to navigate among the
Intel Inspectorwindows. The buttons on the toolbar vary depending on the displayed window.
Use the Analysis Type drop-down list to choose an analysis type category:
Memory Error Analysis,
Threading Error Analysis, or
Custom Analysis Types.
This tutorial covers threading error analysis types, which you can use to search for data race, deadlock, lock hierarchy violation, and cross-thread stack access errors. Use memory error analysis types to search for resource leak, incorrect memcpy call, invalid deallocation, invalid memory access, invalid partial memory access, memory growth, memory leak, memory not deallocated, mismatched allocation/deallocation, missing allocation, uninitialized memory access, and uninitialized partial memory access errors.
Use the configuration slider to choose a preset analysis type and the corresponding gauges to assess the
costof that choice. The preset analysis type at the top of the slider has the narrowest scope; the preset analysis type at the bottom has the widest.
Analysis Time Overheadgauge helps you quickly estimate the time it may take to collect a result using this preset analysis type. Time is expressed in relation to normal application execution time. For example, 10x - 40x is 10 to 40 times longer than normal application execution time. If normal application execution time is 5 seconds, estimated collection time is 50 to 200 seconds.
Memory Overheadgauge helps you quickly estimate the memory the
Intel Inspectormay consume to detect errors using this preset analysis type. Memory is expressed in blue-filled bars.
The gauge does not show memory used by the running application during analysis.
Use the checkbox(es)
, radio buttons,and drop-down list(s) to fine-tune some, but not all, preset analysis type settings.
If you need to fine-tune more analysis type settings, you can choose another analysis type or create a custom analysis type.
Detailsregion to view all current settings for this analysis type.
Commandtoolbar to control analysis runs and perform other functions. For example, use the
Project Propertiesbutton to display the
Project Propertiesdialog box, where you can change the default result directory location, set parameters to potentially speed up analysis, and perform other project configuration functions. Use the
Command Linebutton to open the
Corresponding inspxe-cl Command Optionsdialog box, where you can review - and, if desired, copy to the clipboard - the command to perform the same analysis using the
Intel Inspectorcommand line interface (