Class QueueStatistics
- Namespace
- DotCompute.Backends.OpenCL.Execution
- Assembly
- DotCompute.Backends.OpenCL.dll
Statistics for command queue usage and pool performance. Used for monitoring, optimization, and capacity planning.
public sealed record QueueStatistics : IEquatable<QueueStatistics>
- Inheritance
-
QueueStatistics
- Implements
- Inherited Members
Properties
ActiveQueues
Gets the current number of active (in-use) queues.
public int ActiveQueues { 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 queue creation.
public long PoolMisses { get; init; }
Property Value
PooledQueues
Gets the current number of queues available in the pool.
public int PooledQueues { get; init; }
Property Value
QueueRecycles
Gets the total number of queues recycled back to the pool.
public long QueueRecycles { get; init; }
Property Value
TotalQueuesCreated
Gets the total number of queues created since initialization.
public long TotalQueuesCreated { get; init; }