User Guide

Contents

Run
Threading
Perspective

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.
By default, accuracy is set to Low. For more info, see Customize
Threading
Perspective
section.
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.
In the
Threading
perspective, collection accuracy levels match the steps you should take. To run the
Threading
perspective, 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 button.
    While the perspective is running, you can do the following in the
    Analysis Workflow
    tab:
    • Control the perspective execution:
      • Stop data collection and see the already collected data: Click the button.
      • Pause data collection: Click the button.
      • Cancel data collection and discard the collected data: Click the button.
    • Expand an analysis with to control the analysis execution:
      • Pause analysis and see the already collected data: Click the button.
      • Stop analysis and start the next analysis selected: Click the button.
      • Interrupt execution of all selected analyses and see the already collected data: Click the button.
    You can generate command lines for selected perspective configuration by clicking the
    Command Line
    button. For CLI wokflow example, see Command Line Use Cases.
After running the perspective as describes above, you get a Suitability report showing predicted options for parallelizing and a Dependencies report showing whether you can implement parallel design without disrupting your code.

Product and Performance Information

1

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