mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08: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( "Source locations:", RealToString( m_worker.GetSrcLocCount(), true ) );
|
||||||
TextFocused( "Call stacks:", RealToString( m_worker.GetCallstackPayloadCount(), true ) );
|
TextFocused( "Call stacks:", RealToString( m_worker.GetCallstackPayloadCount(), true ) );
|
||||||
TextFocused( "Call stack frames:", RealToString( m_worker.GetCallstackFrameCount(), 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 )
|
if( m_frameSortData.frameSet != m_frames || m_frameSortData.frameNum != fsz )
|
||||||
{
|
{
|
||||||
m_frameSortData.frameSet = m_frames;
|
m_frameSortData.frameSet = m_frames;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user