mach_absolute_time as the primary clock source on macOS (corefx#30391) (#18505) ...
authorStephen Toub <stoub@microsoft.com>
Tue, 26 Jun 2018 22:49:12 +0000 (18:49 -0400)
committerGitHub <noreply@github.com>
Tue, 26 Jun 2018 22:49:12 +0000 (18:49 -0400)
commit135263824f4f6d2f38b2d1c3d83fe981d5e50b19
tree330f9631c2429c03d82c3afd430c4e30ab6ac56f
parent0a47706f8eccd58c28b3d921f781c7909e7461bd
mach_absolute_time as the primary clock source on macOS (corefx#30391) (#18505) (#18526)

macOS 10.12+ supports clock_gettime (HAVE_CLOCK_MONOTONIC is defined)
However, mach_absolute_time has better resolution and should be used
as the primary clock source.
src/pal/src/misc/time.cpp