Struct NoOpAllocationTracker
Avoid informing the GC about native allocations. Consider using for micro-benchmarks where the impact of GC.AddMemoryPressure and GC.RemoveMemoryPressure can skew timing results.
public struct NoOpAllocationTracker : INativeAllocationTracker
- Implements
- Inherited Members
Methods
Track(int, long)
Record an allocation event
public void Track(int count, long bytes)