From ce3f0bd59622e48c25d38cbaf0172f0d5aa7dd26 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 19 Mar 2018 16:14:01 +0100 Subject: [PATCH] Add separator to zone tooltips. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 7038bdfc..eebe8c9f 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3438,6 +3438,7 @@ void View::ZoneTooltip( const ZoneEvent& ev ) ImGui::Text( "Thread: %s", m_worker.GetThreadString( tid ) ); ImGui::SameLine(); ImGui::TextDisabled( "(0x%" PRIX64 ")", tid ); + ImGui::Separator(); ImGui::Text( "Execution time: %s", TimeToString( end - ev.start ) ); ImGui::Text( "Without profiling: %s", TimeToString( end - ev.start - m_worker.GetDelay() * dmul ) ); if( ev.cpu_start != -1 ) @@ -3479,6 +3480,7 @@ void View::ZoneTooltip( const GpuEvent& ev ) ImGui::Text( "Thread: %s", m_worker.GetThreadString( tid ) ); ImGui::SameLine(); ImGui::TextDisabled( "(0x%" PRIX64 ")", tid ); + ImGui::Separator(); ImGui::Text( "GPU execution time: %s", TimeToString( end - ev.gpuStart ) ); ImGui::Text( "CPU command setup time: %s", TimeToString( ev.cpuEnd - ev.cpuStart ) ); ImGui::Text( "Delay to execution: %s", TimeToString( ev.gpuStart - ev.cpuStart ) );