Interface IMemoryStatistics
- Namespace
- DotCompute.Abstractions
- Assembly
- DotCompute.Abstractions.dll
Memory usage statistics. This is a duplicate of DotCompute.Core.Memory.IMemoryStatistics for backward compatibility.
public interface IMemoryStatistics
Properties
AllocationCount
Gets allocation count.
int AllocationCount { get; }
Property Value
AvailableBytes
Gets available memory in bytes.
long AvailableBytes { get; }
Property Value
FragmentationPercentage
Gets memory fragmentation percentage.
double FragmentationPercentage { get; }
Property Value
PeakUsageBytes
Gets peak memory usage in bytes.
long PeakUsageBytes { get; }
Property Value
TotalAllocatedBytes
Gets total allocated memory in bytes.
long TotalAllocatedBytes { get; }
Property Value
UsageByLocation
Gets memory usage by location.
IReadOnlyDictionary<MemoryLocation, long> UsageByLocation { get; }