1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

CompressThread body must be available.

This commit is contained in:
Bartosz Taudul
2018-05-03 18:43:51 +02:00
parent a46d27f312
commit e058bb34c1
2 changed files with 5 additions and 13 deletions
-12
View File
@@ -763,18 +763,6 @@ const Worker::SourceLocationZones& Worker::GetZonesForSourceLocation( int32_t sr
}
#endif
uint16_t Worker::CompressThread( uint64_t thread )
{
if( m_data.threadLast.first == thread )
{
return m_data.threadLast.second;
}
else
{
return CompressThreadReal( thread );
}
}
uint16_t Worker::CompressThreadReal( uint64_t thread )
{
auto it = m_data.threadMap.find( thread );