-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ews: switch high_resolution_clock to steady_clock
high_resolution_clock, in practice, is just a typedef to either system_clock or steady_clock. Be explicit about what we want: for age, a "stopwatch" is good enough. [Under GNU stdlibc++ 14, the granularity of system_clock and steady_clock is the same, and high_resolution_clock is aliased to system_clock. Under clang libc++ however, system_clock has just a coarse 1µs granularity vs. steady_clock's 1ns, and high_resolution_clock is aliased to steady_clock.]
- Loading branch information
Showing
3 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters