Class EventStatistics
- Namespace
- DotCompute.Backends.OpenCL.Execution
- Assembly
- DotCompute.Backends.OpenCL.dll
Statistics for event usage and pool performance. Used for monitoring, optimization, and capacity planning.
public sealed record EventStatistics : IEquatable<EventStatistics>
- Inheritance
-
EventStatistics
- Implements
- Inherited Members
Properties
ActiveEvents
Gets the current number of active (in-use) events.
public int ActiveEvents { get; init; }
Property Value
EventRecycles
Gets the total number of events recycled back to the pool.
public long EventRecycles { get; init; }
Property Value
PoolHitRate
Gets the pool hit rate as a percentage (0.0 to 1.0). Higher values indicate better pooling efficiency. Target: >0.8 (80% hit rate) for optimal performance.
public double PoolHitRate { get; }
Property Value
PoolHits
Gets the number of successful pool acquisitions (cache hits).
public long PoolHits { get; init; }
Property Value
PoolMisses
Gets the number of pool misses requiring new event creation.
public long PoolMisses { get; init; }
Property Value
PooledEvents
Gets the current number of events available in the pool.
public int PooledEvents { get; init; }
Property Value
ProfilingQueries
Gets the total number of profiling information queries performed.
public long ProfilingQueries { get; init; }
Property Value
TotalEventsCreated
Gets the total number of events created since initialization.
public long TotalEventsCreated { get; init; }