Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 75aab8192b94f6746dcc426c84864e40ec76ae96
https://github.com/WebKit/WebKit/commit/75aab8192b94f6746dcc426c84864e40ec76ae96
Author: Mark Lam <[email protected]>
Date: 2026-04-29 (Wed, 29 Apr 2026)
Changed paths:
M Source/WTF/wtf/UnbarrieredMonotonicTime.cpp
M Source/WTF/wtf/UnbarrieredMonotonicTime.h
Log Message:
-----------
Refine UnbarrieredMonotonicTime's calibration to minimize displacement from
MonotonicTime.
https://bugs.webkit.org/show_bug.cgi?id=313704
rdar://175902778
Reviewed by Yusuke Suzuki.
This is to enable cheap conversion between UnbarrieredMonotonicTime and
MonotonicTime
values for some use cases. For starters, we'll only be using this in some
local perf
experiments for now.
Tested locally and manually. Also covered by uses of ApproximateTime (which
forwards
to UnbarrieredMonotonicTime on the OS(DARWIN) + ARM64 port) via existing tests.
* Source/WTF/wtf/UnbarrieredMonotonicTime.cpp:
(WTF::UnbarrieredMonotonicTime::calibrate):
* Source/WTF/wtf/UnbarrieredMonotonicTime.h:
(WTF::UnbarrieredMonotonicTime::now):
Canonical link: https://commits.webkit.org/312339@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications