mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Remove hidden zone time without profiling tooltip.
This commit is contained in:
parent
850815534e
commit
5fde56d96a
@ -4236,12 +4236,6 @@ void View::DrawZoneInfoWindow()
|
||||
const auto selftime = GetZoneSelfTime( ev );
|
||||
TextFocused( "Time from start of program:", TimeToString( ev.start - m_worker.GetTimeBegin() ) );
|
||||
TextFocused( "Execution time:", TimeToString( ztime ) );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
TextFocused( "Without profiling:", TimeToString( ztime - m_worker.GetDelay() * dmul ) );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
TextFocused( "Self time:", TimeToString( selftime ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(%.2f%%)", 100.f * selftime / ztime );
|
||||
|
Loading…
Reference in New Issue
Block a user