https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63400

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to frankhb1989 from comment #4)
> For CLOCK_REALTIME, the Windows API GetSystemTimeAsFileTime is used.
> GetSystemTimePreciseAsFileTime is an improved version which provide "the
> highest possible level of precision (<1us)". Unfortunately, the latter is
> only available since Windows 8/Windows 2012, which is not suited for
> winpthreads for compatibility reason IMO. See this MSDN page for details:
> http://msdn.microsoft.com/en-us/library/windows/desktop/hh706895(v=vs.85).
> aspx

But libstdc++ could call that directly, instead of going through the
clock_gettime API.

Reply via email to