mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Allow raw access to source location zones data.
This commit is contained in:
parent
948c6f405c
commit
aa9d9575e0
@ -130,8 +130,10 @@ public:
|
|||||||
const SourceLocation& GetSourceLocation( int32_t srcloc ) const;
|
const SourceLocation& GetSourceLocation( int32_t srcloc ) const;
|
||||||
|
|
||||||
std::vector<int32_t> GetMatchingSourceLocation( const char* query ) const;
|
std::vector<int32_t> GetMatchingSourceLocation( const char* query ) const;
|
||||||
|
|
||||||
#ifndef TRACY_NO_STATISTICS
|
#ifndef TRACY_NO_STATISTICS
|
||||||
const SourceLocationZones& GetZonesForSourceLocation( int32_t srcloc ) const;
|
const SourceLocationZones& GetZonesForSourceLocation( int32_t srcloc ) const;
|
||||||
|
const flat_hash_map<int32_t, SourceLocationZones, nohash<int32_t>>& GetSourceLocationZones() const { return m_data.sourceLocationZones; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
tracy_force_inline uint16_t CompressThread( uint64_t thread );
|
tracy_force_inline uint16_t CompressThread( uint64_t thread );
|
||||||
|
Loading…
Reference in New Issue
Block a user