Table of Contents

Struct ChunkPoolStats

Namespace
KeenEyes
Assembly
KeenEyes.Core.dll

Statistics for chunk pool usage.

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

Constructors

ChunkPoolStats(long, long, long, long, int, int)

Statistics for chunk pool usage.

public ChunkPoolStats(long TotalRented, long TotalReturned, long TotalCreated, long TotalDiscarded, int PooledCount, int ArchetypeCount)

Parameters

TotalRented long

Total chunks rented.

TotalReturned long

Total chunks returned.

TotalCreated long

Total new chunks created.

TotalDiscarded long

Total chunks discarded.

PooledCount int

Current pooled chunk count.

ArchetypeCount int

Number of archetypes with pooled chunks.

Properties

ArchetypeCount

Number of archetypes with pooled chunks.

public int ArchetypeCount { get; init; }

Property Value

int

HitRate

Gets the pool hit rate (reused / rented).

public double HitRate { get; }

Property Value

double

PooledCount

Current pooled chunk count.

public int PooledCount { get; init; }

Property Value

int

TotalCreated

Total new chunks created.

public long TotalCreated { get; init; }

Property Value

long

TotalDiscarded

Total chunks discarded.

public long TotalDiscarded { get; init; }

Property Value

long

TotalRented

Total chunks rented.

public long TotalRented { get; init; }

Property Value

long

TotalReturned

Total chunks returned.

public long TotalReturned { get; init; }

Property Value

long