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

Use common functionality to get frame set name.

This commit is contained in:
Bartosz Taudul
2022-07-30 19:32:25 +02:00
parent 92871ba75a
commit b19f9e1f4d
8 changed files with 39 additions and 14 deletions
+2
View File
@@ -303,6 +303,8 @@ private:
const ZoneEvent* FindZoneAtTime( uint64_t thread, int64_t time ) const;
uint64_t GetFrameNumber( const FrameData& fd, int i, uint64_t offset ) const;
const char* GetFrameText( const FrameData& fd, int i, uint64_t ftime, uint64_t offset ) const;
const char* GetFrameSetName( const FrameData& fd ) const;
static const char* GetFrameSetName( const FrameData& fd, const Worker& worker );
#ifndef TRACY_NO_STATISTICS
void FindZones();