Display total number of allocations.

This commit is contained in:
Bartosz Taudul 2018-04-01 23:57:18 +02:00
parent 8efc0a0a71
commit e3509b6eee

View File

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