Intel® Advisor User Guide

ID 766448
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Run Threading Perspective from GUI

Steps to run the Threading perspective.

In the Analysis Workflow pane, select the Threading perspective. The perspective can be executed at the following collection accuracy levels:
  • Low - Find candidates for parallelizing.
  • Medium - Model parallel design options and determine whether there are dependencies limiting parallelizing.
  • Custom - Customize the perspective flow and properties.

In the Threading perspective, collection accuracy levels match the steps you should take. By default, accuracy is set to Low.

NOTE:
The higher accuracy value you choose, the higher runtime overhead is added to your application. The Overhead indicator shows the overhead for the selected configuration.

Prerequisites: In the graphical-user interface (GUI): Create a project and specify an analysis target and target options.

To configure and run the Threading perspective from GUI, do the following:

  1. Select Low accuracy level to enable the Survey analysis and run the perspective by clicking button.
    You will get a Survey report that shows the execution times of your functions and loops.
  2. Sort the report data by Total Time to identify functions and loops with the longest execution time. These loops/functions are the best candidates to apply parallelization for.
  3. In your source code, annotate sites and tasks to model threading for and re-build your application. For more information on annotations and how to apply them, see Annotate Code for Deeper Analysis section.
  4. Select Medium accuracy level and run the Threading perspective by clicking