mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 16:10:20 +00:00
Profiler: Remove m_deepest_stack_depth
This isn't used anymore so let's remove it entirely.
This commit is contained in:
parent
a607f13fc7
commit
9444272ba0
Notes:
sideshowbarker
2024-07-18 16:58:53 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/9444272ba02 Pull-request: https://github.com/SerenityOS/serenity/pull/7705 Reviewed-by: https://github.com/linusg
2 changed files with 0 additions and 6 deletions
|
@ -40,10 +40,6 @@ Profile::Profile(Vector<Process> processes, Vector<Event> events)
|
|||
m_model = ProfileModel::create(*this);
|
||||
m_samples_model = SamplesModel::create(*this);
|
||||
|
||||
for (auto& event : m_events) {
|
||||
m_deepest_stack_depth = max((u32)event.frames.size(), m_deepest_stack_depth);
|
||||
}
|
||||
|
||||
rebuild_tree();
|
||||
}
|
||||
|
||||
|
|
|
@ -185,7 +185,6 @@ 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();
|
||||
|
@ -245,7 +244,6 @@ private:
|
|||
|
||||
Vector<ProcessFilter> m_process_filters;
|
||||
|
||||
u32 m_deepest_stack_depth { 0 };
|
||||
bool m_inverted { false };
|
||||
bool m_show_top_functions { false };
|
||||
bool m_show_percentages { false };
|
||||
|
|
Loading…
Reference in a new issue