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
IsActive
Whether the affinity is currently active.
public required bool IsActive { get; init; }
Property Value
NodeId
NUMA node ID.
public required int NodeId { get; init; }
Property Value
ProcessorCount
Number of processors in the affinity mask.
public int ProcessorCount { get; }
Property Value
ProcessorMask
Processor mask.
public required ulong ProcessorMask { get; init; }
Property Value
SetTime
Time when affinity was set.
public required DateTime SetTime { get; init; }