Table of Contents

Struct PoolStatistics

Namespace
DotCompute.Memory
Assembly
DotCompute.Memory.dll

Performance statistics for object pools.

public readonly record struct PoolStatistics : IEquatable<PoolStatistics>
Implements
Inherited Members

Properties

CurrentPoolSize

Gets or sets the current pool size.

public int CurrentPoolSize { get; init; }

Property Value

int

The current pool size.

EfficiencyRatio

Gets or sets the efficiency ratio.

public double EfficiencyRatio { get; }

Property Value

double

The efficiency ratio.

HitRate

Gets or sets the hit rate.

public double HitRate { get; init; }

Property Value

double

The hit rate.

LiveObjects

Gets or sets the live objects.

public long LiveObjects { get; }

Property Value

long

The live objects.

PoolHits

Gets or sets the pool hits.

public long PoolHits { get; init; }

Property Value

long

The pool hits.

PoolMisses

Gets or sets the pool misses.

public long PoolMisses { get; init; }

Property Value

long

The pool misses.

ThreadLocalCount

Gets or sets the thread local count.

public int ThreadLocalCount { get; init; }

Property Value

int

The thread local count.

TotalCreated

Gets or sets the total created.

public long TotalCreated { get; init; }

Property Value

long

The total created.

TotalDestroyed

Gets or sets the total destroyed.

public long TotalDestroyed { get; init; }

Property Value

long

The total destroyed.

TotalGets

Gets or sets the total gets.

public long TotalGets { get; init; }

Property Value

long

The total gets.

TotalReturns

Gets or sets the total returns.

public long TotalReturns { get; init; }

Property Value

long

The total returns.