Class MemoryStatistics
- Namespace
- DotCompute.Abstractions.Memory
- Assembly
- DotCompute.Abstractions.dll
Provides statistical information about memory usage and allocation patterns.
public sealed class MemoryStatistics
- Inheritance
-
MemoryStatistics
- Inherited Members
Properties
ActiveAllocations
Gets the number of currently active allocations.
public long ActiveAllocations { get; init; }
Property Value
ActiveBuffers
Gets the current number of active buffers.
public long ActiveBuffers { get; init; }
Property Value
AllocationCount
Gets the number of allocations performed.
public long AllocationCount { get; init; }
Property Value
AvailableMemory
Gets the amount of memory available for allocation in bytes.
public long AvailableMemory { get; init; }
Property Value
AvailableMemoryBytes
Gets the available memory bytes for allocation.
public long AvailableMemoryBytes { get; init; }
Property Value
AverageAllocationSize
Gets the average allocation size in bytes.
public double AverageAllocationSize { get; init; }
Property Value
CurrentAllocatedMemory
Gets the currently allocated memory in bytes (alias for CurrentUsage).
public long CurrentAllocatedMemory { get; }
Property Value
CurrentUsage
Gets the current amount of memory in use in bytes.
public long CurrentUsage { get; init; }
Property Value
CurrentUsed
Gets the current used memory in bytes.
public long CurrentUsed { get; init; }
Property Value
DeallocationCount
Gets the number of deallocations performed.
public long DeallocationCount { get; init; }
Property Value
FragmentationPercentage
Gets the fragmentation percentage (0-100).
public double FragmentationPercentage { get; init; }
Property Value
PeakAllocated
Gets the peak allocated memory in bytes (alias for PeakMemoryUsage).
public long PeakAllocated { get; }
Property Value
PeakMemoryUsage
Gets the peak memory usage in bytes.
public long PeakMemoryUsage { get; init; }
Property Value
PeakMemoryUsageBytes
Gets the peak memory usage in bytes across all allocations.
public long PeakMemoryUsageBytes { get; init; }
Property Value
PeakUsage
Gets the peak memory usage in bytes.
public long PeakUsage { get; init; }
Property Value
PoolHitRate
Gets the cache hit rate for pooled allocations.
public double PoolHitRate { get; init; }
Property Value
TotalAllocated
Gets the total amount of memory allocated in bytes.
public long TotalAllocated { get; init; }
Property Value
TotalAllocationCount
Gets the total number of allocations made.
public long TotalAllocationCount { get; init; }
Property Value
TotalAllocations
Gets the total number of allocations (alias for AllocationCount).
public long TotalAllocations { get; }
Property Value
TotalAvailable
Gets the total available memory in the system in bytes.
public long TotalAvailable { get; init; }
Property Value
TotalCapacity
Gets the total memory capacity in bytes.
public long TotalCapacity { get; init; }
Property Value
TotalDeallocationCount
Gets the total number of deallocations made.
public long TotalDeallocationCount { get; init; }
Property Value
TotalDeallocations
Gets the total number of deallocations (alias for DeallocationCount).
public long TotalDeallocations { get; }
Property Value
TotalFreed
Gets the total amount of memory freed in bytes.
public long TotalFreed { get; init; }
Property Value
TotalMemoryBytes
Gets the total memory bytes available in the system.
public long TotalMemoryBytes { get; init; }
Property Value
UsedMemoryBytes
Gets the used memory bytes in the system.
public long UsedMemoryBytes { get; init; }