Skip to content
Commit ae9dda1e authored by Peter Harris's avatar Peter Harris Committed by Adam Jackson
Browse files

os: Fix GetTimeInMicros resolution



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: default avatarPeter Harris <pharris@opentext.com>
(cherry picked from commit 937a5b78)
parent 013c28a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment