Intel® Advisor User Guide

ID 766448
Date 7/13/2023

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents
Give Feedback


Examine specified annotated sites for opportunities to reduce lock overhead in a Suitability report.

GUI Equivalent

Suitability > Lock Overhead




<string> is a comma-separated list of annotated sites (no spaces).


No default argument

Actions Modified



Lock overhead is the time spent creating, destroying, acquiring, and releasing locks (as opposed to lock contention, which is the time spent waiting for a lock held by another task). Think of lock overhead as the cost of lock operations, assuming the lock is always available.

Usage of this option simulates parallel execution with the assumption that lock overhead is zero for a specified site.


Generate a Suitability report. Examine the annotated sites myAnnotatedSiteJ and myAnnotatedSiteX for opportunities to reduce lock overhead. Write the report to stdout.

advisor --report=suitability --reduce-lock-overhead=myAnnotatedSiteJ,myAnnotatedSiteX --project-dir=./advi_results

See Also