Table of Contents

Class MemoryUsageStatistics

Namespace
DotCompute.Runtime.Services.Statistics
Assembly
DotCompute.Runtime.dll

Memory usage statistics

public class MemoryUsageStatistics
Inheritance
MemoryUsageStatistics
Inherited Members

Properties

CollectedAt

Gets the timestamp when these statistics were collected

public DateTime CollectedAt { get; init; }

Property Value

DateTime

FragmentationPercentage

Gets the fragmentation percentage

public double FragmentationPercentage { get; init; }

Property Value

double

PerAcceleratorStats

Gets per-accelerator statistics

public Dictionary<string, AcceleratorMemoryStatistics> PerAcceleratorStats { get; init; }

Property Value

Dictionary<string, AcceleratorMemoryStatistics>

TotalAllocated

Gets the total allocated memory across all pools

public long TotalAllocated { get; init; }

Property Value

long

TotalAvailable

Gets the total available memory across all pools

public long TotalAvailable { get; init; }

Property Value

long