Dreamine.Threading 1.0.1
이 패키지는 .NET ThreadPool이나 Task Parallel Library를 대체하려는 목적이 아닙니다.
로딩중...
검색중...
일치하는것 없음
Dreamine.Threading.Models.DreamineThreadCoreAssignment 클래스 참조sealed

더 자세히 ...

Public 멤버 함수

 DreamineThreadCoreAssignment (int? coreIndex, bool useAffinity, bool isOverflowPolling)

정적 Public 멤버 함수

static DreamineThreadCoreAssignment None ()
static DreamineThreadCoreAssignment Dedicated (int coreIndex, bool useAffinity)
static DreamineThreadCoreAssignment Overflow ()

속성

int? CoreIndex [get]
bool UseAffinity [get]
bool IsOverflowPolling [get]
bool IsDedicatedWorker [get]

상세한 설명

Dreamine 작업자 스레드의 CPU 코어 할당 결과를 나타냅니다.

DreamineThreadCoreAssignment.cs 파일의 11 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ DreamineThreadCoreAssignment()

Dreamine.Threading.Models.DreamineThreadCoreAssignment.DreamineThreadCoreAssignment ( int? coreIndex,
bool useAffinity,
bool isOverflowPolling )
inline

T:Dreamine.Threading.Models.DreamineThreadCoreAssignment 클래스의 새 인스턴스를 초기화합니다.

매개변수
coreIndex할당된 CPU 코어 인덱스이며 코어가 없으면 null입니다.
useAffinityCPU 선호도를 적용할지 여부입니다.
isOverflowPolling오버플로 폴링 할당인지 여부입니다.

DreamineThreadCoreAssignment.cs 파일의 85 번째 라인에서 정의되었습니다.

86 {
87 CoreIndex = coreIndex;
88 UseAffinity = useAffinity;
89 IsOverflowPolling = isOverflowPolling;
90 }

다음을 참조함 : CoreIndex, IsOverflowPolling, UseAffinity.

다음에 의해서 참조됨 : Dedicated(), None(), Overflow().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 함수 문서화

◆ Dedicated()

DreamineThreadCoreAssignment Dreamine.Threading.Models.DreamineThreadCoreAssignment.Dedicated ( int coreIndex,
bool useAffinity )
inlinestatic

전용 CPU 코어 할당을 생성합니다.

매개변수
coreIndex할당할 CPU 코어 인덱스입니다.
useAffinity해당 코어에 선호도를 적용할지 여부입니다.
반환값
생성된 전용 할당입니다.

DreamineThreadCoreAssignment.cs 파일의 145 번째 라인에서 정의되었습니다.

146 {
147 return new DreamineThreadCoreAssignment(coreIndex, useAffinity, false);
148 }

다음을 참조함 : DreamineThreadCoreAssignment().

다음에 의해서 참조됨 : Dreamine.Threading.Allocators.AutoCoreAllocator.AllocateAuto(), Dreamine.Threading.Allocators.AutoCoreAllocator.AllocateManual().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ None()

DreamineThreadCoreAssignment Dreamine.Threading.Models.DreamineThreadCoreAssignment.None ( )
inlinestatic

CPU 선호도나 전용 코어가 없는 할당을 생성합니다.

반환값
생성된 비선호도 할당입니다.

DreamineThreadCoreAssignment.cs 파일의 108 번째 라인에서 정의되었습니다.

109 {
110 return new DreamineThreadCoreAssignment(null, false, false);
111 }

다음을 참조함 : DreamineThreadCoreAssignment().

다음에 의해서 참조됨 : Dreamine.Threading.Allocators.AutoCoreAllocator.Allocate(), Dreamine.Threading.Allocators.AutoCoreAllocator.AllocateManual(), Dreamine.Threading.Services.DreamineThreadManager.RegisterOverflowJob().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ Overflow()

DreamineThreadCoreAssignment Dreamine.Threading.Models.DreamineThreadCoreAssignment.Overflow ( )
inlinestatic

전용 작업자 없이 실행할 오버플로 폴링 할당을 생성합니다.

반환값
생성된 오버플로 할당입니다.

DreamineThreadCoreAssignment.cs 파일의 166 번째 라인에서 정의되었습니다.

167 {
168 return new DreamineThreadCoreAssignment(null, false, true);
169 }

다음을 참조함 : DreamineThreadCoreAssignment().

다음에 의해서 참조됨 : Dreamine.Threading.Allocators.AutoCoreAllocator.AllocateAuto().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

속성 문서화

◆ CoreIndex

int? Dreamine.Threading.Models.DreamineThreadCoreAssignment.CoreIndex
get

할당된 CPU 코어 인덱스를 가져옵니다.

DreamineThreadCoreAssignment.cs 파일의 21 번째 라인에서 정의되었습니다.

21{ get; }

다음에 의해서 참조됨 : DreamineThreadCoreAssignment(), Dreamine.Threading.Allocators.AutoCoreAllocator.Release().

◆ IsDedicatedWorker

bool Dreamine.Threading.Models.DreamineThreadCoreAssignment.IsDedicatedWorker
get

이 할당이 전용 작업자 스레드를 가지는지 여부를 가져옵니다.

DreamineThreadCoreAssignment.cs 파일의 51 번째 라인에서 정의되었습니다.

◆ IsOverflowPolling

bool Dreamine.Threading.Models.DreamineThreadCoreAssignment.IsOverflowPolling
get

이 할당이 오버플로 폴링 작업을 나타내는지 여부를 가져옵니다.

DreamineThreadCoreAssignment.cs 파일의 41 번째 라인에서 정의되었습니다.

41{ get; }

다음에 의해서 참조됨 : DreamineThreadCoreAssignment(), Dreamine.Threading.Policies.AdaptiveCpuCyclePolicy.GetDelayMs(), Dreamine.Threading.Policies.FixedIntervalCyclePolicy.GetDelayMs(), Dreamine.Threading.Allocators.AutoCoreAllocator.Release().

◆ UseAffinity

bool Dreamine.Threading.Models.DreamineThreadCoreAssignment.UseAffinity
get

CPU 선호도를 적용해야 하는지 여부를 가져옵니다.

DreamineThreadCoreAssignment.cs 파일의 31 번째 라인에서 정의되었습니다.

31{ get; }

다음에 의해서 참조됨 : DreamineThreadCoreAssignment().


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: