Run Locks and Waits Analysis

Before running an analysis, choose a configuration level to define the Intel® VTune™ Amplifier analysis scope and running time. In this tutorial, you run the Locks and Waits analysis to identify synchronization objects that caused contention and fix the problem in the source.

To run an analysis:

  1. From the VTune Amplifier toolbar, click the New Analysis button.

    VTune Amplifier result tab opens with the Analysis Type window active.

  2. From the analysis tree on the left, select Algorithm Analysis > Locks and Waits.

    The right pane is updated with the default options for the Locks and Waits analysis.

  3. Click the Start button on the right command bar.

VTune Amplifier launches the analyze_locks executable that takes balls.dat as input and renders an image displaying the execution time before exiting. VTune Amplifier finalizes the collected data and opens the results in the Locks and Waits viewpoint.

Note

  • To make sure the performance of the application is repeatable, go through the entire tuning process on the same system with a minimal amount of other software executing.

  • This tutorial explains how to run an analysis from the VTune Amplifier graphical user interface (GUI). You can also use the VTune Amplifier command-line interface (amplxe-cl command) to run an analysis. For more details, check the Command-line Interface Support section of the VTune Amplifier Help.

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