mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Local threads must have at least one zone captured.
This commit is contained in:
@@ -2095,9 +2095,9 @@ const char* Worker::GetThreadName( uint64_t id ) const
|
||||
}
|
||||
}
|
||||
|
||||
bool Worker::IsThreadLocal( uint64_t id ) const
|
||||
bool Worker::IsThreadLocal( uint64_t id )
|
||||
{
|
||||
return m_data.localThreadCompress.Exists( id );
|
||||
return m_data.localThreadCompress.Exists( id ) && RetrieveThread( id )->count > 0;
|
||||
}
|
||||
|
||||
const SourceLocation& Worker::GetSourceLocation( int16_t srcloc ) const
|
||||
|
||||
Reference in New Issue
Block a user