Theading Workflow Diagram

Follow these steps (white blocks are optional) to get started using the Threading Advisor in the Intel Advisor

Threading Advisor workflow

  • Survey Report - Shows the loops and functions where your application spends the most time. Use this information to discover candidates for parallelization with threads.

  • Trip Counts analysis - Shows the minimum, maximum, and median number of times a loop body will execute, as well as the number of times a loop is invoked. Use this information to make better decisions about your threading strategy for particular loops.

  • Roofline chart - Applies to both Vectorization Advisor and Threading Advisor, but is most useful in Vectorization Advisor.

  • Annotations - Insert to mark places in your application that are good candidates for later replacement with parallel framework code that enables threading parallel execution. Annotations are subroutine calls or macros (depending on the programming language) that can be processed by your current compiler but do not change the computations of your application.

  • Suitability Report - Predicts the maximum speed-up of your application based on the inserted annotations and a variety of what-if modeling parameters with which you can experiment. Use this information to choose the best candidates for parallelization with threads.

  • Dependencies Report - Predicts parallel data sharing problems based on the inserted annotations. Use this information to fix the data sharing problems if the predicted maximum speed-up benefit justifies the effort.

For more complete information about compiler optimizations, see our Optimization Notice.