Table of Contents

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

double

AverageAllocationTimeNanoseconds

public required long AverageAllocationTimeNanoseconds { get; init; }

Property Value

long

BucketStatistics

public required IReadOnlyList<BucketStatistics> BucketStatistics { get; init; }

Property Value

IReadOnlyList<BucketStatistics>

FragmentationEvents

public required long FragmentationEvents { get; init; }

Property Value

long

FragmentationPercentage

public required double FragmentationPercentage { get; init; }

Property Value

double

HitRate

public required double HitRate { get; init; }

Property Value

double

MemoryReusePercentage

public required double MemoryReusePercentage { get; init; }

Property Value

double

PeakBytesInPool

public required long PeakBytesInPool { get; init; }

Property Value

long

PoolEfficiencyScore

public required double PoolEfficiencyScore { get; init; }

Property Value

double

PoolHits

public required long PoolHits { get; init; }

Property Value

long

PoolMisses

public required long PoolMisses { get; init; }

Property Value

long

TotalAllocations

public required long TotalAllocations { get; init; }

Property Value

long

TotalBytesAllocated

public required long TotalBytesAllocated { get; init; }

Property Value

long

TotalBytesFreed

public required long TotalBytesFreed { get; init; }

Property Value

long

TotalBytesInPool

public required long TotalBytesInPool { get; init; }

Property Value

long

TotalDeallocations

public required long TotalDeallocations { get; init; }

Property Value

long