Intel® VTune™ Amplifier

Run Locks and Waits Analysis

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 Choose 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. Select the Analyze Intel runtimes and user synchronization checkbox.
  4. Click the Start button on the right command bar.

VTune Amplifier launches the nqueens_parallel executable that makes calculations, displays the execution time, and exits. VTune Amplifier finalizes the collected data and opens the results in the Locks and Waits viewpoint.

Note

Key Terms

Next Step

Interpret Locks and Waits Results