mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Introduce View::IsZoneReentry()
These two methods can search a timeline to determine whether a given ZoneEvent is the only appearance of the given zone on the current thread stack, or a re-entry.
This commit is contained in:
@@ -250,6 +250,8 @@ private:
|
||||
|
||||
const ZoneEvent* GetZoneParent( const ZoneEvent& zone ) const;
|
||||
const ZoneEvent* GetZoneParent( const ZoneEvent& zone, uint64_t tid ) const;
|
||||
bool IsZoneReentry( const ZoneEvent& zone ) const;
|
||||
bool IsZoneReentry( 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;
|
||||
|
||||
Reference in New Issue
Block a user