Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help

Running concurrency Analysis from the Command Line

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

Note

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

What's Next

When the data collection is complete, do one of the following to view the result:

See Also