Table of Contents

Class AffinityInfo

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

Information about thread or process affinity.

public sealed class AffinityInfo
Inheritance
AffinityInfo
Inherited Members

Properties

Duration

Duration since affinity was set.

public TimeSpan Duration { get; }

Property Value

TimeSpan

IsActive

Whether the affinity is currently active.

public required bool IsActive { get; init; }

Property Value

bool

NodeId

NUMA node ID.

public required int NodeId { get; init; }

Property Value

int

ProcessorCount

Number of processors in the affinity mask.

public int ProcessorCount { get; }

Property Value

int

ProcessorMask

Processor mask.

public required ulong ProcessorMask { get; init; }

Property Value

ulong

SetTime

Time when affinity was set.

public required DateTime SetTime { get; init; }

Property Value

DateTime