mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 20:33:52 +00:00
Show more elements in one-line callstacks.
This commit is contained in:
parent
697d1f0cad
commit
f4524a8453
@ -557,7 +557,7 @@ void View::DrawMemoryAllocWindow()
|
|||||||
const auto cs = ev.CsAlloc();
|
const auto cs = ev.CsAlloc();
|
||||||
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx );
|
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
DrawCallstackCalls( cs, 2 );
|
DrawCallstackCalls( cs, 4 );
|
||||||
}
|
}
|
||||||
if( ev.TimeFree() < 0 )
|
if( ev.TimeFree() < 0 )
|
||||||
{
|
{
|
||||||
@ -583,7 +583,7 @@ void View::DrawMemoryAllocWindow()
|
|||||||
const auto cs = ev.csFree.Val();
|
const auto cs = ev.csFree.Val();
|
||||||
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx );
|
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
DrawCallstackCalls( cs, 2 );
|
DrawCallstackCalls( cs, 4 );
|
||||||
}
|
}
|
||||||
TextFocused( "Duration:", TimeToString( ev.TimeFree() - ev.TimeAlloc() ) );
|
TextFocused( "Duration:", TimeToString( ev.TimeFree() - ev.TimeAlloc() ) );
|
||||||
}
|
}
|
||||||
|
@ -311,7 +311,7 @@ void View::DrawMessageLine( const MessageData& msg, bool hasCallstack, int& idx
|
|||||||
{
|
{
|
||||||
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx );
|
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
DrawCallstackCalls( cs, 4 );
|
DrawCallstackCalls( cs, 6 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user