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
TotalRentedlongTotal chunks rented.
TotalReturnedlongTotal chunks returned.
TotalCreatedlongTotal new chunks created.
TotalDiscardedlongTotal chunks discarded.
PooledCountintCurrent pooled chunk count.
ArchetypeCountintNumber of archetypes with pooled chunks.
Properties
ArchetypeCount
Number of archetypes with pooled chunks.
public int ArchetypeCount { get; init; }
Property Value
HitRate
Gets the pool hit rate (reused / rented).
public double HitRate { get; }
Property Value
PooledCount
Current pooled chunk count.
public int PooledCount { get; init; }
Property Value
TotalCreated
Total new chunks created.
public long TotalCreated { get; init; }
Property Value
TotalDiscarded
Total chunks discarded.
public long TotalDiscarded { get; init; }
Property Value
TotalRented
Total chunks rented.
public long TotalRented { get; init; }
Property Value
TotalReturned
Total chunks returned.
public long TotalReturned { get; init; }