Partilhar via


CpuCollection.SetAffinityToRange Method

Definition

Overloads

SetAffinityToRange(Int32, Int32, Boolean)

Will set Affinity to a Range of CPU's provided.This method will throw an exception if there is a Cpu Id does not exist

SetAffinityToRange(Int32, Int32, Boolean, Boolean)

Will set Affinity to a Range of CPU's provided

SetAffinityToRange(Int32, Int32, Boolean)

Will set Affinity to a Range of CPU's provided.This method will throw an exception if there is a Cpu Id does not exist

public void SetAffinityToRange (int startCpuId, int endCpuId, bool affinityMask);
member this.SetAffinityToRange : int * int * bool -> unit
Public Sub SetAffinityToRange (startCpuId As Integer, endCpuId As Integer, affinityMask As Boolean)

Parameters

startCpuId
Int32
endCpuId
Int32
affinityMask
Boolean

value of affinity

Applies to

SetAffinityToRange(Int32, Int32, Boolean, Boolean)

Will set Affinity to a Range of CPU's provided

public void SetAffinityToRange (int startCpuId, int endCpuId, bool affinityMask, bool ignoreMissingIds);
member this.SetAffinityToRange : int * int * bool * bool -> unit
Public Sub SetAffinityToRange (startCpuId As Integer, endCpuId As Integer, affinityMask As Boolean, ignoreMissingIds As Boolean)

Parameters

startCpuId
Int32
endCpuId
Int32
affinityMask
Boolean

value of affinity

ignoreMissingIds
Boolean

Ignore missing Cpu Ids

Applies to