CpuCollection.SetAffinityToRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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