Table of Contents

Class MemoryStatistics

Namespace
DotCompute.Abstractions.Ports
Assembly
DotCompute.Abstractions.dll

Current memory usage statistics.

public sealed record MemoryStatistics : IEquatable<MemoryStatistics>
Inheritance
MemoryStatistics
Implements
Inherited Members

Properties

AllocatedBytes

Total allocated bytes.

public long AllocatedBytes { get; init; }

Property Value

long

AllocationCount

Number of active allocations.

public int AllocationCount { get; init; }

Property Value

int

AvailableBytes

Available bytes.

public long AvailableBytes { get; init; }

Property Value

long

PeakAllocatedBytes

Peak allocated bytes.

public long PeakAllocatedBytes { get; init; }

Property Value

long

PoolHitRate

Pool hit rate (0.0-1.0).

public double PoolHitRate { get; init; }

Property Value

double