mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Display trace version in trace info window.
This commit is contained in:
parent
6065d25335
commit
fc63b6b07d
@ -7752,6 +7752,10 @@ void View::DrawInfo()
|
||||
ImGui::Separator();
|
||||
TextFocused( "Captured program:", m_worker.GetCaptureProgram().c_str() );
|
||||
TextFocused( "Capture time:", dtmp );
|
||||
ImGui::TextDisabled( "Trace version:" );
|
||||
ImGui::SameLine();
|
||||
const auto version = m_worker.GetTraceVersion();
|
||||
ImGui::Text( "%i.%i.%i", version >> 16, ( version >> 8 ) & 0xFF, version & 0xFF );
|
||||
ImGui::Separator();
|
||||
TextFocused( "Queue delay:", TimeToString( m_worker.GetDelay() ) );
|
||||
TextFocused( "Timer resolution:", TimeToString( m_worker.GetResolution() ) );
|
||||
|
Loading…
Reference in New Issue
Block a user