Re:Windows Timer Resolution: The Great Rule Change
by CodesInChaos on Tuesday October 06, 2020 @09:01AM
(#24697216)
On Windows 8 or later you can use GetSystemTimePreciseAsFileTime to get higher precision timestamps.
https://docs.microsoft.com/en-us/windows/win32/api/sysinfoap...
(For those about to suggest how it should have been done, the application also stored an atomic revision counter, so the unit test was switched to that instead of a timestamp.)