From 5824b47a6660376969c4391f8b2ea4fd9caa5dba Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 2 Apr 2018 00:02:45 +0200 Subject: [PATCH] Display memory usage. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index aa788ff6..4ced0317 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3656,7 +3656,7 @@ void View::DrawMemory() ImGui::Begin( "Memory", &m_memInfo.show ); - ImGui::Text( "Total allocations: %-10s Active allocations: %s", RealToString( mem.data.size(), true ), RealToString( mem.active.size(), true ) ); + ImGui::Text( "Total allocations: %-10s Active allocations: %-10s Memory usage: %s bytes", RealToString( mem.data.size(), true ), RealToString( mem.active.size(), true ), RealToString( mem.usage, true ) ); ImGui::InputText( "", m_memInfo.pattern, 1024 ); ImGui::SameLine();