1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 10:05:07 +00:00
serenity/Libraries/LibWeb/HighResolutionTime/Performance.idl
Andreas Kling 18cff5e0be LibWeb: Implement performance.timeOrigin
This is the origin timestamp of the same monotonic clock used for the
performance.now() timestamp.

I got a little confused while implementing this, since the numbers are
very low. That's because it uses the CLOCK_MONOTONIC system clock,
which we start counting from 0 at boot. :^)
2020-09-29 18:31:07 +02:00

4 lines
100 B
Text

interface Performance : EventTarget {
double now();
readonly attribute double timeOrigin;
}