Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opal_progress: check timer only once per 8 calls #4697

Merged

Commits on Jan 16, 2018

  1. opal_progress: check timer only once per 8 calls

    Reading the system clock on every call to opal_progress() is an
    expensive operation on most architectures, and it can negatively affect
    the performance, for example of message rate benchmarks.
    
    We change opal_progress() to read the clock once per 8 calls, unless
    there are active users of the event mechanism.
    
    Signed-off-by: Yossi Itigin <[email protected]>
    yosefe committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    7cee603 View commit details
    Browse the repository at this point in the history