diff --git a/server/TracyTimelineItemPlot.cpp b/server/TracyTimelineItemPlot.cpp index 6580d44a..1732592f 100644 --- a/server/TracyTimelineItemPlot.cpp +++ b/server/TracyTimelineItemPlot.cpp @@ -55,7 +55,7 @@ void TimelineItemPlot::HeaderTooltip( const char* label ) const const auto first = RangeBegin(); const auto last = RangeEnd(); const auto activity = last - first; - const auto traceLen = m_worker.GetLastTime(); + const auto traceLen = m_worker.GetLastTime() - m_worker.GetFirstTime(); TextFocused( "Appeared at", TimeToString( first ) ); TextFocused( "Last event at", TimeToString( last ) );