Jeff Smith <[email protected]> writes:

> Prior to commit a779fda2 (xwayland: Use the CLOCK_MONOTONIC clock),
> GetTimeInMillis() and GetTimeInMicros() had separate clockid's.  As a
> part of making them available to ForceClockId(), that commit replaced
> them with a single clockid, whose value depended on which GetTime
> function got called first.

Hrm. I would think that it would be good to have both paths always
select the same clock; is there some reason we can't have
GetTimeInMillis just call GetTimeInMicros and divide by 1000?

I think the only reason for prefering milliseconds is that it's easier
on 32-bit hardware, yes?

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to