Class MemoryAllocatorStatistics
- Namespace
- DotCompute.Memory
- Assembly
- DotCompute.Memory.dll
A class that represents memory allocator statistics.
public record MemoryAllocatorStatistics : IEquatable<MemoryAllocatorStatistics>
- Inheritance
-
MemoryAllocatorStatistics
- Implements
- Inherited Members
Constructors
MemoryAllocatorStatistics(long, long, long)
A class that represents memory allocator statistics.
public MemoryAllocatorStatistics(long TotalAllocatedBytes, long TotalAllocations, long TotalDeallocations)
Parameters
TotalAllocatedByteslongThe total number of bytes allocated.
TotalAllocationslongThe total number of allocations made.
TotalDeallocationslongThe total number of deallocations made.
Properties
ActiveAllocations
Gets the current number of active allocations.
public long ActiveAllocations { get; }
Property Value
TotalAllocatedBytes
The total number of bytes allocated.
public long TotalAllocatedBytes { get; init; }
Property Value
TotalAllocations
The total number of allocations made.
public long TotalAllocations { get; init; }
Property Value
TotalDeallocations
The total number of deallocations made.
public long TotalDeallocations { get; init; }