From 72cf23022889011f7059191f852d02e81b7710df Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 10 Jun 2024 22:52:03 +0200 Subject: [PATCH] Add sampling achievement check. --- profiler/src/profiler/TracyView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/profiler/src/profiler/TracyView.cpp b/profiler/src/profiler/TracyView.cpp index 7dcdeeda..01b9c7fb 100644 --- a/profiler/src/profiler/TracyView.cpp +++ b/profiler/src/profiler/TracyView.cpp @@ -677,6 +677,7 @@ bool View::DrawImpl() { if( m_worker.IsConnected() ) Achieve( "connectToClient" ); if( m_worker.GetZoneCount() > 0 ) Achieve( "instrumentationIntro" ); + if( m_worker.GetCallstackSampleCount() > 0 ) Achieve( "samplingIntro" ); } Attention( m_attnWorking );