Skip to content

os: Fix GetTimeInMicros resolution

Peter Harris requested to merge peterh/xserver:clockid into master

GetTimeInMillis is called first, which sets clockid to CLOCK_MONOTONIC_COARSE, which is typically much lower resolution than the callers of GetTimeInMicros want.

Prior to a779fda2, GetTimeInMillis and GetTimeInMicros did not share a clockid.

Restore the clockid split to fix the granularity of GetTimeInMicros.

Signed-off-by: Peter Harris pharris@opentext.com

Merge request reports