From be92ae787cd84636c99037685771ca73ebfe2757 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 24 Aug 2024 16:50:02 +0200 Subject: [PATCH] Add tooltips for thread jumps. --- profiler/src/profiler/TracyView_ZoneInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiler/src/profiler/TracyView_ZoneInfo.cpp b/profiler/src/profiler/TracyView_ZoneInfo.cpp index 84ee6cc1..c596df90 100644 --- a/profiler/src/profiler/TracyView_ZoneInfo.cpp +++ b/profiler/src/profiler/TracyView_ZoneInfo.cpp @@ -717,16 +717,19 @@ void View::DrawZoneInfoWindow() { ImGui::SameLine(); TextDisabledUnformatted( "P" ); + TooltipIfHovered( "Jump from one CPU package to another" ); } else if( tt0->die != tt1->die ) { ImGui::SameLine(); TextDisabledUnformatted( "D" ); + TooltipIfHovered( "Jump from one CPU die to another, within the same package" ); } else if( tt0->core != tt1->core ) { ImGui::SameLine(); TextDisabledUnformatted( "C" ); + TooltipIfHovered( "Jump from one CPU core to another, within the same die" ); } } }