mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Update TracyWorker.cpp
This commit is contained in:
parent
92ea670205
commit
e67dcaade5
@ -5077,13 +5077,12 @@ void Worker::ProcessFrameMarkEnd( const QueueFrameMark& ev )
|
|||||||
} );
|
} );
|
||||||
|
|
||||||
assert( fd->continuous == 0 );
|
assert( fd->continuous == 0 );
|
||||||
const auto time = TscTime( ev.time );
|
|
||||||
if( fd->frames.empty() )
|
if( fd->frames.empty() )
|
||||||
{
|
{
|
||||||
if ( !m_ignoreFrameEndFaults )
|
if( !m_ignoreFrameEndFaults ) FrameEndFailure();
|
||||||
FrameEndFailure();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
const auto time = TscTime( ev.time );
|
||||||
assert( fd->frames.back().end == -1 );
|
assert( fd->frames.back().end == -1 );
|
||||||
fd->frames.back().end = time;
|
fd->frames.back().end = time;
|
||||||
if( m_data.lastTime < time ) m_data.lastTime = time;
|
if( m_data.lastTime < time ) m_data.lastTime = time;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user