mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Move "without profiling" to tooltip in zone info window.
This commit is contained in:
parent
4ae317109d
commit
c7952e4d4f
@ -2957,7 +2957,12 @@ void View::DrawZoneInfoWindow()
|
||||
const auto ztime = end - ev.start;
|
||||
TextFocused( "Time from start of program:", TimeToString( ev.start - m_worker.GetFrameBegin( 0 ) ) );
|
||||
TextFocused( "Execution time:", TimeToString( ztime ) );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
TextFocused( "Without profiling:", TimeToString( ztime - m_worker.GetDelay() * dmul ) );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
|
||||
auto& mem = m_worker.GetMemData();
|
||||
if( mem.plot )
|
||||
|
Loading…
Reference in New Issue
Block a user