Table of Contents

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

long

ActiveBuffers

Gets the current number of active buffers.

public long ActiveBuffers { get; init; }

Property Value

long

AllocationCount

Gets the number of allocations performed.

public long AllocationCount { get; init; }

Property Value

long

AvailableMemory

Gets the amount of memory available for allocation in bytes.

public long AvailableMemory { get; init; }

Property Value

long

AvailableMemoryBytes

Gets the available memory bytes for allocation.

public long AvailableMemoryBytes { get; init; }

Property Value

long

AverageAllocationSize

Gets the average allocation size in bytes.

public double AverageAllocationSize { get; init; }

Property Value

double

CurrentAllocatedMemory

Gets the currently allocated memory in bytes (alias for CurrentUsage).

public long CurrentAllocatedMemory { get; }

Property Value

long

CurrentUsage

Gets the current amount of memory in use in bytes.

public long CurrentUsage { get; init; }

Property Value

long

CurrentUsed

Gets the current used memory in bytes.

public long CurrentUsed { get; init; }

Property Value

long

DeallocationCount

Gets the number of deallocations performed.

public long DeallocationCount { get; init; }

Property Value

long

FragmentationPercentage

Gets the fragmentation percentage (0-100).

public double FragmentationPercentage { get; init; }

Property Value

double

PeakAllocated

Gets the peak allocated memory in bytes (alias for PeakMemoryUsage).

public long PeakAllocated { get; }

Property Value

long

PeakMemoryUsage

Gets the peak memory usage in bytes.

public long PeakMemoryUsage { get; init; }

Property Value

long

PeakMemoryUsageBytes

Gets the peak memory usage in bytes across all allocations.

public long PeakMemoryUsageBytes { get; init; }

Property Value

long

PeakUsage

Gets the peak memory usage in bytes.

public long PeakUsage { get; init; }

Property Value

long

PoolHitRate

Gets the cache hit rate for pooled allocations.

public double PoolHitRate { get; init; }

Property Value

double

TotalAllocated

Gets the total amount of memory allocated in bytes.

public long TotalAllocated { get; init; }

Property Value

long

TotalAllocationCount

Gets the total number of allocations made.

public long TotalAllocationCount { get; init; }

Property Value

long

TotalAllocations

Gets the total number of allocations (alias for AllocationCount).

public long TotalAllocations { get; }

Property Value

long

TotalAvailable

Gets the total available memory in the system in bytes.

public long TotalAvailable { get; init; }

Property Value

long

TotalCapacity

Gets the total memory capacity in bytes.

public long TotalCapacity { get; init; }

Property Value

long

TotalDeallocationCount

Gets the total number of deallocations made.

public long TotalDeallocationCount { get; init; }

Property Value

long

TotalDeallocations

Gets the total number of deallocations (alias for DeallocationCount).

public long TotalDeallocations { get; }

Property Value

long

TotalFreed

Gets the total amount of memory freed in bytes.

public long TotalFreed { get; init; }

Property Value

long

TotalMemoryBytes

Gets the total memory bytes available in the system.

public long TotalMemoryBytes { get; init; }

Property Value

long

UsedMemoryBytes

Gets the used memory bytes in the system.

public long UsedMemoryBytes { get; init; }

Property Value

long