mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Calculate plot timeline taking active time span into account.
This commit is contained in:
parent
3ed543a1b7
commit
5ff809cc0a
@ -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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user