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

CPUTimer: switch to clock_gettime #4667

Merged
merged 1 commit into from Jul 17, 2014

Commits on Jul 16, 2014

  1. CPUTimer: switch to clock_gettime

      - switch from gettimeofday/getrusage to clock_gettime,
        with the same speed but better accuracy (at least on x86_64 Linux)
      - switch from clock_gettime(CLOCK_REALTIME) to clock_gettime(CLOCK_MONOTONIC)
        with a very similar performance, but conceptually more sound
    fwyzard committed Jul 16, 2014
    Copy the full SHA
    a7de539 View commit details
    Browse the repository at this point in the history