Table of Contents

Class AllocationInfo

Namespace
DotCompute.Backends.CPU.Threading.NUMA
Assembly
DotCompute.Backends.CPU.dll

Information about a memory allocation.

public sealed record AllocationInfo : IEquatable<AllocationInfo>
Inheritance
AllocationInfo
Implements
Inherited Members

Properties

Age

Duration since allocation.

public TimeSpan Age { get; }

Property Value

TimeSpan

AllocatedTime

Time when memory was allocated.

public required DateTime AllocatedTime { get; init; }

Property Value

DateTime

AllocationMethod

Method used for allocation.

public required AllocationType AllocationMethod { get; init; }

Property Value

AllocationType

IsActive

Whether the allocation is currently active.

public required bool IsActive { get; init; }

Property Value

bool

NodeId

NUMA node ID (-1 for system allocation).

public required int NodeId { get; init; }

Property Value

int

Size

Size of allocation in bytes.

public required nuint Size { get; init; }

Property Value

nuint