From 315864e4347a51edfba3449c06a96fbcb6e08153 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 24 Sep 2024 19:47:41 +0200 Subject: [PATCH] Mark self function in inlines list if top inline is enabled. --- profiler/src/profiler/TracyView_Samples.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiler/src/profiler/TracyView_Samples.cpp b/profiler/src/profiler/TracyView_Samples.cpp index 7f2f02c1..4bbd7112 100644 --- a/profiler/src/profiler/TracyView_Samples.cpp +++ b/profiler/src/profiler/TracyView_Samples.cpp @@ -616,6 +616,11 @@ void View::DrawSamplesStatistics( Vector& data, int64_t timeRange, Accu if( clicked ) ShowSampleParents( iv.symAddr, false ); ImGui::PopID(); } + if( sn == parentName ) + { + ImGui::SameLine(); + TextDisabledUnformatted( "(self)" ); + } if( iv.count > 1 ) { ImGui::SameLine();