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

Add thread name getter combining local and external thread names.

This commit is contained in:
Bartosz Taudul
2019-08-27 23:00:13 +02:00
parent f8e3d1ad0a
commit 3c092b4bec
2 changed files with 32 additions and 0 deletions
+1
View File
@@ -337,6 +337,7 @@ public:
const char* GetString( const StringRef& ref ) const;
const char* GetString( const StringIdx& idx ) const;
const char* GetThreadString( uint64_t id ) const;
const char* GetThreadName( uint64_t id ) const;
bool IsThreadLocal( uint64_t id ) const;
const SourceLocation& GetSourceLocation( int16_t srcloc ) const;
std::pair<const char*, const char*> GetExternalName( uint64_t id ) const;