mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Display GPU timer overflow notification.
This commit is contained in:
parent
de2ca9b22a
commit
7aa575fd2e
@ -3147,6 +3147,14 @@ void View::DrawZones()
|
|||||||
{
|
{
|
||||||
TextFocused( "Timestamp accuracy:", TimeToString( v->period ) );
|
TextFocused( "Timestamp accuracy:", TimeToString( v->period ) );
|
||||||
}
|
}
|
||||||
|
if( v->overflow != 0 )
|
||||||
|
{
|
||||||
|
ImGui::Separator();
|
||||||
|
ImGui::TextUnformatted( "GPU timer overflow has been detected." );
|
||||||
|
TextFocused( "Timer resolution:", RealToString( 63 - TracyLzcnt( v->overflow ) ) );
|
||||||
|
ImGui::SameLine();
|
||||||
|
TextDisabledUnformatted( "bits" );
|
||||||
|
}
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user