diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 05ac2ebd..f4c1e68b 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -494,6 +494,7 @@ private: bool m_showExternalFrames = true; bool m_showUnknownFrames = true; bool m_statSeparateInlines = false; + bool m_mergeInlines = false; bool m_statShowAddress = false; bool m_statShowKernel = true; bool m_groupChildrenLocations = false; diff --git a/server/TracyView_Statistics.cpp b/server/TracyView_Statistics.cpp index 406effea..739f0f46 100644 --- a/server/TracyView_Statistics.cpp +++ b/server/TracyView_Statistics.cpp @@ -300,6 +300,10 @@ void View::DrawStatistics() ImGui::SameLine(); ImGui::Spacing(); ImGui::SameLine(); + ImGui::Checkbox( ICON_FA_LAYER_GROUP " Aggregate", &m_mergeInlines ); + ImGui::SameLine(); + ImGui::Spacing(); + ImGui::SameLine(); ImGui::Checkbox( ICON_FA_AT " Address", &m_statShowAddress ); ImGui::SameLine(); ImGui::Spacing();