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

Implement getting zone parent when thread id is known.

This commit is contained in:
Bartosz Taudul
2019-10-31 14:59:52 +01:00
parent 456deefdbc
commit c0df3dd965
2 changed files with 20 additions and 0 deletions
+1
View File
@@ -191,6 +191,7 @@ private:
int GetZoneDepth( const ZoneEvent& zone, uint64_t tid ) const;
const ZoneEvent* GetZoneParent( const ZoneEvent& zone ) const;
const ZoneEvent* GetZoneParent( const ZoneEvent& zone, uint64_t tid ) const;
const GpuEvent* GetZoneParent( const GpuEvent& zone ) const;
const ThreadData* GetZoneThreadData( const ZoneEvent& zone ) const;
uint64_t GetZoneThread( const ZoneEvent& zone ) const;