mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Display total number of allocations.
This commit is contained in:
parent
8efc0a0a71
commit
e3509b6eee
@ -3656,7 +3656,7 @@ void View::DrawMemory()
|
|||||||
|
|
||||||
ImGui::Begin( "Memory", &m_memInfo.show );
|
ImGui::Begin( "Memory", &m_memInfo.show );
|
||||||
|
|
||||||
ImGui::Text( "Active allocations: %s", RealToString( mem.active.size(), true ) );
|
ImGui::Text( "Total allocations: %-10s Active allocations: %s", RealToString( mem.data.size(), true ), RealToString( mem.active.size(), true ) );
|
||||||
|
|
||||||
ImGui::InputText( "", m_memInfo.pattern, 1024 );
|
ImGui::InputText( "", m_memInfo.pattern, 1024 );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
Loading…
Reference in New Issue
Block a user