[PATCH v4 2/2] server: Add USD support with timestamp updates.

Paul Gofman pgofman at codeweavers.com
Thu Apr 30 13:28:17 CDT 2020


On 4/30/20 21:21, Zebediah Figura wrote:
>
>> It may then be possible to implement time using USD but that would
>> reduce the clocks accuracy down to the server update frequency.
> If Windows has updates that slow, I think this makes sense. We'd
> probably want to use a different channel for +timestamp, though
> [QueryPerformanceCounter(), I guess?]
>
> There's probably other consequences I'm not considering...
>
It might be potentially usable for GetTickCount() which has resolution
around 10-15ms (though dangerous probably), but
QueryPerformanceCounter() is designed as higher resolution timer, every
game is using it and expects better resolution. 15-16ms is a long time.
But proper Unix functions for getting high resolution time should
already be quick, they also end up getting time from shared memory pages
maintained by kernel.




More information about the wine-devel mailing list