1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:37:36 +00:00

Profiler: Display timing information in ProfileTimelineWidget

Currently, there is no way to know when in a profile's duration a
sample was taken. This commit adds a basic timestamp to the timeline
widget, and a black bar to show where the cursor is hovering over.
This commit is contained in:
Sahan Fernando 2021-02-06 14:36:11 +11:00 committed by Andreas Kling
parent ff3ae331f7
commit 7e9122950e
2 changed files with 31 additions and 5 deletions

View file

@ -50,4 +50,5 @@ private:
bool m_selecting { false };
u64 m_select_start_time { 0 };
u64 m_select_end_time { 0 };
u64 m_hover_time { 0 };
};