CpuCollection.SetAffinityToRange 方法

定義

多載

名稱 Description
SetAffinityToRange(Int32, Int32, Boolean)

會將親和度設定為一系列提供的 CPU。如果存在 CPU Id 不存在,此方法會拋出例外

SetAffinityToRange(Int32, Int32, Boolean, Boolean)

會將 Affinity 設定為一系列提供的 CPU

SetAffinityToRange(Int32, Int32, Boolean)

會將親和度設定為一系列提供的 CPU。如果存在 CPU Id 不存在,此方法會拋出例外

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)

參數

startCpuId
Int32
endCpuId
Int32
affinityMask
Boolean

親和力的價值

適用於

SetAffinityToRange(Int32, Int32, Boolean, Boolean)

會將 Affinity 設定為一系列提供的 CPU

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)

參數

startCpuId
Int32
endCpuId
Int32
affinityMask
Boolean

親和力的價值

ignoreMissingIds
Boolean

忽略遺失的 CPU ID

適用於