From f04cdb7782b78f8e3b02945ef22383b1d5c14a7a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 13 Mar 2024 18:51:41 +0100 Subject: [PATCH] Add aggregate inlines UI. --- server/TracyView.hpp | 1 + server/TracyView_Statistics.cpp | 4 ++++ 2 files changed, 5 insertions(+) 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();