CpuCollection 클래스

정의

CPU 컬렉션 클래스

public sealed class CpuCollection : System.Collections.ICollection
type CpuCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class CpuCollection
Implements ICollection
상속
CpuCollection
구현

속성

Name Description
AffitinizedCPUs

선호도 CPU를 반환합니다.

Count

컬렉션의 총 요소 수

IsSynchronized

컬렉션이 동기화된 경우

Item[Int32]

인덱스에서 특정 Cpu를 가져옵니다.

SyncRoot

컬렉션의 SyncRoot를 반환합니다.

메서드

Name Description
CopyTo(Array, Int32)

컬렉션의 CPU를 인덱스에서 시작하는 배열로 복사합니다.

CopyTo(Cpu[], Int32)

컬렉션의 CPU를 인덱스에서 시작하여 CPU 배열로 복사합니다.

GetByID(Int32)

해당 ID에서 미세 계산기 Cpu를 가져옵니다.

GetElementAt(Int32)

인덱스에서 특정 Cpu를 가져옵니다.

GetEnumerator()

열거자를 얻으려면

SetAffinityToAll(Boolean)

선호도를 모든 Cpu로 설정

SetAffinityToRange(Int32, Int32, Boolean, Boolean)

제공된 CPU 범위로 선호도 설정

SetAffinityToRange(Int32, Int32, Boolean)

제공된 CPU 범위로 선호도를 설정합니다. Cpu ID가 없는 경우 이 메서드는 예외를 throw합니다.

적용 대상