mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Ignore last, probably unfinished frame.
This commit is contained in:
parent
c8a0bfd9be
commit
faea036c16
@ -6353,8 +6353,10 @@ void View::DrawInfo()
|
||||
TextFocused( "Source locations:", RealToString( m_worker.GetSrcLocCount(), true ) );
|
||||
TextFocused( "Call stacks:", RealToString( m_worker.GetCallstackPayloadCount(), true ) );
|
||||
TextFocused( "Call stack frames:", RealToString( m_worker.GetCallstackFrameCount(), true ) );
|
||||
|
||||
const auto fsz = m_worker.GetFrameCount( *m_frames ) - 1;
|
||||
if( fsz != 0 )
|
||||
{
|
||||
const auto fsz = m_worker.GetFrameCount( *m_frames );
|
||||
if( m_frameSortData.frameSet != m_frames || m_frameSortData.frameNum != fsz )
|
||||
{
|
||||
m_frameSortData.frameSet = m_frames;
|
||||
|
Loading…
Reference in New Issue
Block a user