Show more elements in one-line callstacks.

This commit is contained in:
Bartosz Taudul
2022-08-15 21:36:29 +02:00
parent 697d1f0cad
commit f4524a8453
2 changed files with 3 additions and 3 deletions

View File

@@ -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() ) );
}