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:
parent
77d30adee9
commit
4e4ee2ff2c
@ -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 ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user