1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

ProfileViewer: Scale the sample columns by stack depth

From a nice suggestion by Nagy Tibor. :^)
This commit is contained in:
Andreas Kling 2019-12-15 18:08:20 +01:00
parent 7a64f55c0f
commit be0b527cfc
3 changed files with 10 additions and 1 deletions

View file

@ -99,6 +99,7 @@ public:
u64 length_in_ms() const { return m_last_timestamp - m_first_timestamp; }
u64 first_timestamp() const { return m_first_timestamp; }
u64 last_timestamp() const { return m_last_timestamp; }
u32 deepest_stack_depth() const { return m_deepest_stack_depth; }
void set_timestamp_filter_range(u64 start, u64 end);
void clear_timestamp_filter_range();
@ -120,4 +121,6 @@ private:
bool m_has_timestamp_filter_range { false };
u64 m_timestamp_filter_range_start { 0 };
u64 m_timestamp_filter_range_end { 0 };
u32 m_deepest_stack_depth { 0 };
};