Class MetalPoolStatistics
- Namespace
- DotCompute.Backends.Metal.Memory
- Assembly
- DotCompute.Backends.Metal.dll
Detailed statistics for the Metal memory pool.
public sealed record MetalPoolStatistics : IEquatable<MetalPoolStatistics>
- Inheritance
-
MetalPoolStatistics
- Implements
- Inherited Members
Properties
AllocationTimeSavingsPercentage
Gets allocation time savings compared to direct allocation (estimated). Assumes direct Metal allocation takes ~500ns average.
public double AllocationTimeSavingsPercentage { get; }
Property Value
AverageAllocationTimeNanoseconds
public required long AverageAllocationTimeNanoseconds { get; init; }
Property Value
BucketStatistics
public required IReadOnlyList<BucketStatistics> BucketStatistics { get; init; }
Property Value
FragmentationEvents
public required long FragmentationEvents { get; init; }
Property Value
FragmentationPercentage
public required double FragmentationPercentage { get; init; }
Property Value
HitRate
public required double HitRate { get; init; }
Property Value
MemoryReusePercentage
public required double MemoryReusePercentage { get; init; }
Property Value
PeakBytesInPool
public required long PeakBytesInPool { get; init; }
Property Value
PoolEfficiencyScore
public required double PoolEfficiencyScore { get; init; }
Property Value
PoolHits
public required long PoolHits { get; init; }
Property Value
PoolMisses
public required long PoolMisses { get; init; }
Property Value
TotalAllocations
public required long TotalAllocations { get; init; }
Property Value
TotalBytesAllocated
public required long TotalBytesAllocated { get; init; }
Property Value
TotalBytesFreed
public required long TotalBytesFreed { get; init; }
Property Value
TotalBytesInPool
public required long TotalBytesInPool { get; init; }
Property Value
TotalDeallocations
public required long TotalDeallocations { get; init; }