mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-14 23:29:41 +00:00
Include first time in CPU thread lifetime calculation.
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user