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
AllocationCount
Number of active allocations.
public int AllocationCount { get; init; }
Property Value
AvailableBytes
Available bytes.
public long AvailableBytes { get; init; }
Property Value
PeakAllocatedBytes
Peak allocated bytes.
public long PeakAllocatedBytes { get; init; }
Property Value
PoolHitRate
Pool hit rate (0.0-1.0).
public double PoolHitRate { get; init; }