Table of Contents

Class OpenCLMemoryPoolManager.PoolStatistics

Namespace
DotCompute.Backends.OpenCL.Memory
Assembly
DotCompute.Backends.OpenCL.dll

Comprehensive statistics about pool performance and memory usage.

[SuppressMessage("Design", "CA1034:Nested types should not be visible", Justification = "Closely related type, simpler API")]
public sealed class OpenCLMemoryPoolManager.PoolStatistics
Inheritance
OpenCLMemoryPoolManager.PoolStatistics
Inherited Members

Properties

CurrentPooledMemoryBytes

Gets the current amount of memory pooled (in bytes).

public long CurrentPooledMemoryBytes { get; init; }

Property Value

long

HitRate

Gets the pool hit rate as a percentage (0.0-100.0).

public double HitRate { get; }

Property Value

double

LargeBufferPoolHits

Gets the number of large buffer pool hits.

public long LargeBufferPoolHits { get; init; }

Property Value

long

LargeTierPoolSize

Gets the number of buffers currently in the large tier pool.

public long LargeTierPoolSize { get; init; }

Property Value

long

MediumBufferPoolHits

Gets the number of medium buffer pool hits.

public long MediumBufferPoolHits { get; init; }

Property Value

long

MediumTierPoolSize

Gets the number of buffers currently in the medium tier pool.

public long MediumTierPoolSize { get; init; }

Property Value

long

PoolMisses

Gets the number of pool misses (new buffer allocations).

public long PoolMisses { get; init; }

Property Value

long

SmallBufferPoolHits

Gets the number of small buffer pool hits.

public long SmallBufferPoolHits { get; init; }

Property Value

long

SmallTierPoolSize

Gets the number of buffers currently in the small tier pool.

public long SmallTierPoolSize { get; init; }

Property Value

long

TotalAllocatedMemoryBytes

Gets the total amount of memory allocated (in bytes).

public long TotalAllocatedMemoryBytes { get; init; }

Property Value

long

TotalAllocations

Gets the total number of buffer allocations.

public long TotalAllocations { get; init; }

Property Value

long

TotalDeallocations

Gets the total number of buffer deallocations.

public long TotalDeallocations { get; init; }

Property Value

long