From 4e4ee2ff2c3ccf2be06215abb0443eea33c585fb Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 17 Mar 2020 00:20:18 +0100 Subject: [PATCH] Add number of call stack samples to thread tooltip. --- server/TracyView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 7241e8a5..0df9a117 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2850,6 +2850,10 @@ void View::DrawZones() { TextFocused( "Running state regions:", RealToString( ctx->v.size() ) ); } + if( !v->samples.empty() ) + { + TextFocused( "Call stack samples:", RealToString( v->samples.size() ) ); + } ImGui::EndTooltip(); if( ImGui::IsMouseClicked( 0 ) )