mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibWeb: Report performance based timestamps relative to ESO time origin
This commit is contained in:
parent
8963e62a5e
commit
7488136a51
Notes:
github-actions[bot]
2025-01-27 13:54:36 +00:00
Author: https://github.com/tcl3
Commit: 7488136a51
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3341
12 changed files with 248 additions and 28 deletions
|
@ -12,12 +12,14 @@
|
|||
|
||||
namespace Web::HighResolutionTime {
|
||||
|
||||
DOMHighResTimeStamp estimated_monotonic_time_of_the_unix_epoch();
|
||||
DOMHighResTimeStamp get_time_origin_timestamp(JS::Object const&);
|
||||
DOMHighResTimeStamp coarsen_time(DOMHighResTimeStamp timestamp, bool cross_origin_isolated_capability = false);
|
||||
DOMHighResTimeStamp current_high_resolution_time(JS::Object const&);
|
||||
DOMHighResTimeStamp relative_high_resolution_time(DOMHighResTimeStamp, JS::Object const&);
|
||||
DOMHighResTimeStamp relative_high_resolution_coarsen_time(DOMHighResTimeStamp, JS::Object const&);
|
||||
DOMHighResTimeStamp coarsened_shared_current_time(bool cross_origin_isolated_capability = false);
|
||||
DOMHighResTimeStamp wall_clock_unsafe_current_time();
|
||||
DOMHighResTimeStamp unsafe_shared_current_time();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue