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
AllocatedTime
Time when memory was allocated.
public required DateTime AllocatedTime { get; init; }
Property Value
AllocationMethod
Method used for allocation.
public required AllocationType AllocationMethod { get; init; }
Property Value
IsActive
Whether the allocation is currently active.
public required bool IsActive { get; init; }
Property Value
NodeId
NUMA node ID (-1 for system allocation).
public required int NodeId { get; init; }
Property Value
Size
Size of allocation in bytes.
public required nuint Size { get; init; }