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

Update spin-wait pause/yield normalization #55295

Merged
merged 5 commits into from
Jul 13, 2021
Merged

Update spin-wait pause/yield normalization #55295

merged 5 commits into from
Jul 13, 2021

Commits on Jul 7, 2021

  1. Update spin-wait pause/yield normalization

    - Modified the measurement to use much less time and to remeasure periodically to reduce CPU usage during startup
    - Each measurement does a low-microsecond-level measurement of pause/yield times
    - Some small amount of history of recent measurements is retained and used to for now take the lowest measurement for normalization
    - Measurements are done lazily, and at most every few seconds another measurement is taken
    - Added a profiling event that includes info about a measurement and the established value from recent measurements that is used for normalization
    kouvel committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    1a17140 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    84fa9a2 View commit details
    Browse the repository at this point in the history
  2. Address feedback

    kouvel committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    6efe43f View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Configuration menu
    Copy the full SHA
    c81dd11 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. Fix signed/unsigned mismatch

    kouvel committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    2d1455c View commit details
    Browse the repository at this point in the history