mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:27:45 +00:00
LibWeb: Use a precise timer for performance timestamps
This commit is contained in:
parent
679fe00d10
commit
05c571bf9b
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ JS_DEFINE_ALLOCATOR(Performance);
|
||||||
Performance::Performance(HTML::Window& window)
|
Performance::Performance(HTML::Window& window)
|
||||||
: DOM::EventTarget(window.realm())
|
: DOM::EventTarget(window.realm())
|
||||||
, m_window(window)
|
, m_window(window)
|
||||||
|
, m_timer(Core::TimerType::Precise)
|
||||||
{
|
{
|
||||||
m_timer.start();
|
m_timer.start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue