mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Include first time in CPU thread lifetime calculation.
This commit is contained in:
parent
28199512cd
commit
256905b7e3
@ -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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user