Table of Contents

Class MemoryPoolStatistics

Namespace
DotCompute.Abstractions.Memory
Assembly
DotCompute.Abstractions.dll

Memory pool statistics.

public sealed class MemoryPoolStatistics
Inheritance
MemoryPoolStatistics
Inherited Members

Properties

ActiveAllocations

Gets the number of active allocations.

public int ActiveAllocations { get; init; }

Property Value

int

AllocatedSize

Gets the allocated size in bytes.

public long AllocatedSize { get; init; }

Property Value

long

AllocationSizeDistribution

Gets allocation size distribution.

public IReadOnlyDictionary<string, long> AllocationSizeDistribution { get; init; }

Property Value

IReadOnlyDictionary<string, long>

AvailableSize

Gets the available size in bytes.

public long AvailableSize { get; init; }

Property Value

long

CleanupCount

Gets the number of cleanup operations performed.

public long CleanupCount { get; init; }

Property Value

long

DefragmentationCount

Gets the number of defragmentation operations performed.

public long DefragmentationCount { get; init; }

Property Value

long

FragmentationPercentage

Gets the fragmentation percentage (0.0 to 100.0).

public double FragmentationPercentage { get; init; }

Property Value

double

HitRate

Gets the cache hit rate (0.0 to 1.0).

public double HitRate { get; init; }

Property Value

double

LastCleanup

Gets the last cleanup time.

public DateTimeOffset? LastCleanup { get; init; }

Property Value

DateTimeOffset?

LastDefragmentation

Gets the last defragmentation time.

public DateTimeOffset? LastDefragmentation { get; init; }

Property Value

DateTimeOffset?

PeakAllocatedSize

Gets the peak allocated size in bytes.

public long PeakAllocatedSize { get; init; }

Property Value

long

PoolId

Gets the pool identifier.

public string PoolId { get; init; }

Property Value

string

ResizeCount

Gets the number of resize operations performed.

public long ResizeCount { get; init; }

Property Value

long

TotalAllocations

Gets the total number of allocations made.

public long TotalAllocations { get; init; }

Property Value

long

TotalDeallocations

Gets the total number of deallocations made.

public long TotalDeallocations { get; init; }

Property Value

long

TotalSize

Gets the total pool size in bytes.

public long TotalSize { get; init; }

Property Value

long