Class ActivationPoolStats
Statistics about activation pool usage. Thread-safe counters for concurrent access.
public class ActivationPoolStats
- Inheritance
-
ActivationPoolStats
- Inherited Members
Properties
CacheHits
Number of times a tensor was found in the pool.
public long CacheHits { get; set; }
Property Value
CacheMisses
Number of times a new tensor had to be allocated.
public long CacheMisses { get; set; }
Property Value
Evictions
Number of tensors evicted due to memory pressure.
public long Evictions { get; set; }
Property Value
HitRatio
Cache hit ratio (0-1).
public double HitRatio { get; }
Property Value
PooledTensors
Current number of tensors in the pool.
public long PooledTensors { get; }
Property Value
Returns
Number of tensors returned to the pool.
public long Returns { get; set; }
Property Value
Methods
IncrementCacheHits()
Thread-safe increment of cache hits counter.
public void IncrementCacheHits()
IncrementCacheMisses()
Thread-safe increment of cache misses counter.
public void IncrementCacheMisses()
IncrementEvictions()
Thread-safe increment of evictions counter.
public void IncrementEvictions()
IncrementReturns()
Thread-safe increment of returns counter.
public void IncrementReturns()
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.