Re: [PATCH xserver 4/4] os: Use 64-bit tick count on Windows when available

2017-12-28 Thread Jon Turney
On 27/12/2017 04:10, Jeff Smith wrote: On Windows, GetTickCount() returns a value that wraps after 49.7 days. Windows Vista and later offer GetTickCount64(), which does not have that issue. In places that can make use of more than 32 bits from the tick counter, use a 64-bit counter if

Re: [PATCH xserver 2/4] os: Use separate clockid for GetTimeInMicros()

2017-12-28 Thread Jeffrey Smith
On Wed, Dec 27, 2017 at 9:38 PM, Keith Packard wrote: > Jeffrey Smith writes: > >> GetTimeInMillis uses the CLOCK_MONOTONIC_COARSE clock if >> available and the precision is high enough. That clock is supposed >> to be more efficient to query than