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

Increase Duration approximate equal threshold to 1us #56059

Merged
merged 1 commit into from
Nov 19, 2018

Commits on Nov 19, 2018

  1. Increase Duration approximate equal threshold to 1us

    Previously this threshold when testing was 100ns, but the Windows
    documentation states:
    
    > which is a high resolution (<1us) time stamp
    
    which presumably means that we could have up to 1us resolution, which
    means that 100ns doesn't capture "equivalent" time intervals due to
    various bits of rounding here and there.
    
    It's hoped that this..
    
    Closes rust-lang#56034
    alexcrichton committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    8607325 View commit details
    Browse the repository at this point in the history