mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +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
|
@ -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