Table of Contents

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

int

EventRecycles

Gets the total number of events recycled back to the pool.

public long EventRecycles { get; init; }

Property Value

long

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

double

PoolHits

Gets the number of successful pool acquisitions (cache hits).

public long PoolHits { get; init; }

Property Value

long

PoolMisses

Gets the number of pool misses requiring new event creation.

public long PoolMisses { get; init; }

Property Value

long

PooledEvents

Gets the current number of events available in the pool.

public int PooledEvents { get; init; }

Property Value

int

ProfilingQueries

Gets the total number of profiling information queries performed.

public long ProfilingQueries { get; init; }

Property Value

long

TotalEventsCreated

Gets the total number of events created since initialization.

public long TotalEventsCreated { get; init; }

Property Value

long