mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-29 20:15:26 +00:00
Draw longer callstack lines in memory alloc window.
This commit is contained in:
@@ -564,7 +564,7 @@ void View::DrawMemoryAllocWindow()
|
||||
const auto cs = ev.CsAlloc();
|
||||
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx, tidAlloc );
|
||||
ImGui::SameLine();
|
||||
DrawCallstackCalls( cs, 4 );
|
||||
DrawCallstackCalls( cs, 6 );
|
||||
}
|
||||
if( ev.TimeFree() < 0 )
|
||||
{
|
||||
@@ -590,7 +590,7 @@ void View::DrawMemoryAllocWindow()
|
||||
const auto cs = ev.csFree.Val();
|
||||
SmallCallstackButton( ICON_FA_ALIGN_JUSTIFY, cs, idx, tidFree );
|
||||
ImGui::SameLine();
|
||||
DrawCallstackCalls( cs, 4 );
|
||||
DrawCallstackCalls( cs, 6 );
|
||||
}
|
||||
TextFocused( "Duration:", TimeToString( ev.TimeFree() - ev.TimeAlloc() ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user