1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Add sampling achievement check.

This commit is contained in:
Bartosz Taudul 2024-06-10 22:52:03 +02:00
parent 3cb7fd8a5e
commit 72cf230228
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -677,6 +677,7 @@ bool View::DrawImpl()
{ {
if( m_worker.IsConnected() ) Achieve( "connectToClient" ); if( m_worker.IsConnected() ) Achieve( "connectToClient" );
if( m_worker.GetZoneCount() > 0 ) Achieve( "instrumentationIntro" ); if( m_worker.GetZoneCount() > 0 ) Achieve( "instrumentationIntro" );
if( m_worker.GetCallstackSampleCount() > 0 ) Achieve( "samplingIntro" );
} }
Attention( m_attnWorking ); Attention( m_attnWorking );