From 2e88f30e15b4457bb12805b6c6c3884ebb1fec00 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 25 Nov 2017 13:48:03 +0100 Subject: [PATCH] Display number of lock events in tooltip. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index e2a50d41..4571525d 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3090,6 +3090,8 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, ImGui::Text( "%s", GetThreadString( t ) ); } ImGui::Unindent( ty ); + ImGui::Separator(); + ImGui::Text( "Lock events: %s", RealToString( v.second.timeline.size(), true ) ); ImGui::EndTooltip(); } cnt++;