mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Reduce data collection if TRACY_NO_STATISTICS is defined.
Statistical data collection is only useful if it's meant to be used. Otherwise it only incurs CPU and memory cost.
This commit is contained in:
@@ -97,7 +97,9 @@ private:
|
||||
const ZoneEvent* GetZoneParent( const ZoneEvent& zone ) const;
|
||||
const GpuEvent* GetZoneParent( const GpuEvent& zone ) const;
|
||||
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
void FindZones();
|
||||
#endif
|
||||
|
||||
template <typename T>
|
||||
bool& Visible( const T* ptr )
|
||||
|
||||
Reference in New Issue
Block a user