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
AllocatedSize
Gets the allocated size in bytes.
public long AllocatedSize { get; init; }
Property Value
AllocationSizeDistribution
Gets allocation size distribution.
public IReadOnlyDictionary<string, long> AllocationSizeDistribution { get; init; }
Property Value
AvailableSize
Gets the available size in bytes.
public long AvailableSize { get; init; }
Property Value
CleanupCount
Gets the number of cleanup operations performed.
public long CleanupCount { get; init; }
Property Value
DefragmentationCount
Gets the number of defragmentation operations performed.
public long DefragmentationCount { get; init; }
Property Value
FragmentationPercentage
Gets the fragmentation percentage (0.0 to 100.0).
public double FragmentationPercentage { get; init; }
Property Value
HitRate
Gets the cache hit rate (0.0 to 1.0).
public double HitRate { get; init; }
Property Value
LastCleanup
Gets the last cleanup time.
public DateTimeOffset? LastCleanup { get; init; }
Property Value
LastDefragmentation
Gets the last defragmentation time.
public DateTimeOffset? LastDefragmentation { get; init; }
Property Value
PeakAllocatedSize
Gets the peak allocated size in bytes.
public long PeakAllocatedSize { get; init; }
Property Value
PoolId
Gets the pool identifier.
public string PoolId { get; init; }
Property Value
ResizeCount
Gets the number of resize operations performed.
public long ResizeCount { get; init; }
Property Value
TotalAllocations
Gets the total number of allocations made.
public long TotalAllocations { get; init; }
Property Value
TotalDeallocations
Gets the total number of deallocations made.
public long TotalDeallocations { get; init; }
Property Value
TotalSize
Gets the total pool size in bytes.
public long TotalSize { get; init; }