Profiler: Remove m_deepest_stack_depth

This isn't used anymore so let's remove it entirely.
This commit is contained in:
Gunnar Beutner 2021-06-02 21:19:30 +02:00 committed by Linus Groh
parent a607f13fc7
commit 9444272ba0
Notes: sideshowbarker 2024-07-18 16:58:53 +09:00
2 changed files with 0 additions and 6 deletions

View file

@ -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();
}

View file

@ -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 };