Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
Concurrency analysis based on the user-mode sampling and tracing collection helps identify hotspot functions where processor utilization is poor. When cores are idle at a hotspot, you have an opportunity to improve performance by getting those cores working for you.
Concurrency analysis provides information on how many threads were running at each moment during application execution. It includes threads which are currently running or ready to run and therefore are not waiting at a defined waiting or blocking API. VTune Amplifier also shows CPU time while the hotspot was executing. A red bar indicates time where the processors are poorly utilized, a possible lead to help you decide where you should tune.
Syntax:
$ amplxe-cl -collect concurrency [-knob <knobName=knobValue>] [--] <target>
Knobs: sampling-interval, enable-user-tasks, enable-user-sync, analyze-openmp
For the most current information on available knobs (configuration options) for the Concurrency analysis, enter:
$ amplxe-cl -help collect concurrency
Example:
This example shows how to run the Concurrency analysis on myApplication with predefined settings:
$ amplxe-cl -collect concurrency -- home/test/myApplication
When the data collection is complete, do one of the following to view the result:
Use the -report action to view the data from command line.
Use the -report-output action to write report to a .txt or .csv file
Open the data collection result (*.amplxe) in the VTune Amplifier graphical interface.