diff --git a/server/TracyTimelineItemThread.cpp b/server/TracyTimelineItemThread.cpp index b0f7f785..cae99a00 100644 --- a/server/TracyTimelineItemThread.cpp +++ b/server/TracyTimelineItemThread.cpp @@ -176,7 +176,7 @@ void TimelineItemThread::HeaderTooltip( const char* label ) const if( last >= 0 ) { const auto lifetime = 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 ) );