mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +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();
|
||||
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx );
|
||||
ImGui::SameLine();
|
||||
DrawCallstackCalls( cs, 2 );
|
||||
DrawCallstackCalls( cs, 4 );
|
||||
}
|
||||
if( ev.TimeFree() < 0 )
|
||||
{
|
||||
@ -583,7 +583,7 @@ void View::DrawMemoryAllocWindow()
|
||||
const auto cs = ev.csFree.Val();
|
||||
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx );
|
||||
ImGui::SameLine();
|
||||
DrawCallstackCalls( cs, 2 );
|
||||
DrawCallstackCalls( cs, 4 );
|
||||
}
|
||||
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 );
|
||||
ImGui::SameLine();
|
||||
DrawCallstackCalls( cs, 4 );
|
||||
DrawCallstackCalls( cs, 6 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user