Display trace version in trace info window.

This commit is contained in:
Bartosz Taudul 2019-03-01 01:47:36 +01:00
parent 6065d25335
commit fc63b6b07d

View File

@ -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() ) );