1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-03 14:03:52 +00:00

Add number of call stack samples to thread tooltip.

This commit is contained in:
Bartosz Taudul 2020-03-17 00:20:18 +01:00
parent 77d30adee9
commit 4e4ee2ff2c

View File

@ -2850,6 +2850,10 @@ void View::DrawZones()
{ {
TextFocused( "Running state regions:", RealToString( ctx->v.size() ) ); TextFocused( "Running state regions:", RealToString( ctx->v.size() ) );
} }
if( !v->samples.empty() )
{
TextFocused( "Call stack samples:", RealToString( v->samples.size() ) );
}
ImGui::EndTooltip(); ImGui::EndTooltip();
if( ImGui::IsMouseClicked( 0 ) ) if( ImGui::IsMouseClicked( 0 ) )