We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b98aa commit a081f97Copy full SHA for a081f97
src/shims/time.h
@@ -111,7 +111,7 @@ _dispatch_get_nanoseconds(void)
111
static const uint64_t kNTToUNIXBiasAdjustment = 11644473600 * NSEC_PER_SEC;
112
FILETIME ft;
113
ULARGE_INTEGER li;
114
- GetSystemTimeAsFileTime(&ft);
+ GetSystemTimePreciseAsFileTime(&ft);
115
li.LowPart = ft.dwLowDateTime;
116
li.HighPart = ft.dwHighDateTime;
117
return li.QuadPart * 100ull - kNTToUNIXBiasAdjustment;
0 commit comments