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

Allow calculating zone depth.

This commit is contained in:
Bartosz Taudul
2019-09-08 14:16:12 +02:00
parent cdc4575dba
commit 2714152f84
2 changed files with 19 additions and 0 deletions
+1
View File
@@ -178,6 +178,7 @@ private:
void CallstackTooltip( uint32_t idx );
void CrashTooltip();
int GetZoneDepth( const ZoneEvent& zone, uint64_t tid ) const;
const ZoneEvent* GetZoneParent( const ZoneEvent& zone ) const;
const GpuEvent* GetZoneParent( const GpuEvent& zone ) const;
const ThreadData* GetZoneThreadData( const ZoneEvent& zone ) const;