Class MemoryStatistics
- Namespace
- DotCompute.Backends.CPU.Threading.NUMA
- Assembly
- DotCompute.Backends.CPU.dll
Memory allocation statistics.
public sealed class MemoryStatistics
- Inheritance
-
MemoryStatistics
- Inherited Members
Properties
AllocationsByType
Allocations by type.
public required Dictionary<AllocationType, int> AllocationsByType { get; init; }
Property Value
AverageAllocationSize
Average allocation size.
public required long AverageAllocationSize { get; init; }
Property Value
DistributionBalance
Gets memory distribution balance score.
public double DistributionBalance { get; }
Property Value
LeastUsedNode
Gets the least used node.
public int LeastUsedNode { get; }
Property Value
MemoryFragmentation
Memory fragmentation estimate (0.0 to 1.0).
public required double MemoryFragmentation { get; init; }
Property Value
MostUsedNode
Gets the most used node.
public int MostUsedNode { get; }
Property Value
NodeAllocations
Bytes allocated per NUMA node.
public required IReadOnlyList<long> NodeAllocations { get; init; }
Property Value
SystemAllocations
Bytes allocated using system allocation.
public required long SystemAllocations { get; init; }
Property Value
TotalAllocatedBytes
Total allocated bytes.
public required long TotalAllocatedBytes { get; init; }
Property Value
TotalAllocations
Total number of allocations.
public required int TotalAllocations { get; init; }