From 4d99560f7cd36cb987a977b3ad4409eb386d91b6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 25 Nov 2017 13:50:41 +0100 Subject: [PATCH] Add some more numeric separators. --- server/TracyView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 4571525d..fbf7a984 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2910,7 +2910,7 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, if( condensed > 1 ) { ImGui::BeginTooltip(); - ImGui::Text( "Multiple lock events (%" PRIu64 ")", condensed ); + ImGui::Text( "Multiple lock events (%s)", RealToString( condensed, true ) ); ImGui::EndTooltip(); } else @@ -3391,7 +3391,7 @@ void View::DrawZoneInfoWindow() const auto ty = ImGui::GetTextLineHeight(); ImGui::Columns( 2 ); ImGui::Separator(); - ImGui::Text( "Child zones: %" PRIu64, ev.child.size() ); + ImGui::Text( "Child zones: %s", RealToString( ev.child.size(), true ) ); ImGui::NextColumn(); ImGui::Text( "Exclusive time: %s (%.2f%%)", TimeToString( ztime - ctime ), double( ztime - ctime ) / ztime * 100 ); ImGui::NextColumn(); @@ -3492,7 +3492,7 @@ void View::DrawGpuInfoWindow() const auto ty = ImGui::GetTextLineHeight(); ImGui::Columns( 2 ); ImGui::Separator(); - ImGui::Text( "Child zones: %" PRIu64, ev.child.size() ); + ImGui::Text( "Child zones: %s", RealToString( ev.child.size(), true ) ); ImGui::NextColumn(); ImGui::Text( "Exclusive time: %s (%.2f%%)", TimeToString( ztime - ctime ), double( ztime - ctime ) / ztime * 100 ); ImGui::NextColumn();