mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Extract zone name getting functionality.
This commit is contained in:
@@ -180,6 +180,11 @@ public:
|
||||
const char* GetThreadString( uint64_t id ) const;
|
||||
const SourceLocation& GetSourceLocation( int32_t srcloc ) const;
|
||||
|
||||
const char* GetZoneName( const ZoneEvent& ev ) const;
|
||||
const char* GetZoneName( const ZoneEvent& ev, const SourceLocation& srcloc ) const;
|
||||
const char* GetZoneName( const GpuEvent& ev ) const;
|
||||
const char* GetZoneName( const GpuEvent& ev, const SourceLocation& srcloc ) const;
|
||||
|
||||
std::vector<int32_t> GetMatchingSourceLocation( const char* query ) const;
|
||||
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
|
||||
Reference in New Issue
Block a user