mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Tid to pid mapping may be already known.
This commit is contained in:
parent
4f8eb53e8b
commit
91f86ce5b5
@ -4737,8 +4737,7 @@ void Worker::ProcessThreadWakeup( const QueueThreadWakeup& ev )
|
|||||||
|
|
||||||
void Worker::ProcessTidToPid( const QueueTidToPid& ev )
|
void Worker::ProcessTidToPid( const QueueTidToPid& ev )
|
||||||
{
|
{
|
||||||
assert( m_data.tidToPid.find( ev.tid ) == m_data.tidToPid.end() );
|
if( m_data.tidToPid.find( ev.tid ) == m_data.tidToPid.end() ) m_data.tidToPid.emplace( ev.tid, ev.pid );
|
||||||
m_data.tidToPid.emplace( ev.tid, ev.pid );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Worker::ProcessParamSetup( const QueueParamSetup& ev )
|
void Worker::ProcessParamSetup( const QueueParamSetup& ev )
|
||||||
|
Loading…
Reference in New Issue
Block a user