Include first time in CPU thread lifetime calculation.

This commit is contained in:
Bartosz Taudul 2023-03-03 22:46:25 +01:00
parent 28199512cd
commit 256905b7e3
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

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