1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

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