mirror of
https://github.com/wolfpld/tracy
synced 2025-05-09 00:13:52 +00:00
GetThreadString() is no longer used.
This commit is contained in:
parent
28a20e631e
commit
fd5014be6f
@ -1836,19 +1836,6 @@ const char* Worker::GetString( const StringIdx& idx ) const
|
|||||||
return m_data.stringData[idx.idx];
|
return m_data.stringData[idx.idx];
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* Worker::GetThreadString( uint64_t id ) const
|
|
||||||
{
|
|
||||||
const auto it = m_data.threadNames.find( id );
|
|
||||||
if( it == m_data.threadNames.end() )
|
|
||||||
{
|
|
||||||
return "???";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return it->second;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const char* Worker::GetThreadName( uint64_t id ) const
|
const char* Worker::GetThreadName( uint64_t id ) const
|
||||||
{
|
{
|
||||||
const auto it = m_data.threadNames.find( id );
|
const auto it = m_data.threadNames.find( id );
|
||||||
|
@ -336,7 +336,6 @@ public:
|
|||||||
const char* GetString( uint64_t ptr ) const;
|
const char* GetString( uint64_t ptr ) const;
|
||||||
const char* GetString( const StringRef& ref ) const;
|
const char* GetString( const StringRef& ref ) const;
|
||||||
const char* GetString( const StringIdx& idx ) const;
|
const char* GetString( const StringIdx& idx ) const;
|
||||||
const char* GetThreadString( uint64_t id ) const;
|
|
||||||
const char* GetThreadName( uint64_t id ) const;
|
const char* GetThreadName( uint64_t id ) const;
|
||||||
bool IsThreadLocal( uint64_t id ) const;
|
bool IsThreadLocal( uint64_t id ) const;
|
||||||
const SourceLocation& GetSourceLocation( int16_t srcloc ) const;
|
const SourceLocation& GetSourceLocation( int16_t srcloc ) const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user