C# 클래스 IntelShared.Common.ProcessorLoad

파일 보기 프로젝트 열기: 01org/NMPRK

공개 메소드들

메소드 설명
Initialize ( ) : void
LoadCPU ( ProcessorQueryAndControl lpInfo, AutoResetEvent ev, UpdateUsage uu, LoadCpuCallback lcc, ManualResetEvent stopEvent ) : void

비공개 메소드들

메소드 설명
Factorial ( ulong n ) : ulong
GetCurrentProcessThread ( ) : ProcessThread
GetCurrentThreadId ( ) : uint
QueryIdleProcessorCycleTimeEx ( [ Group, [ BufferLength, [ ProcessorIdleCycleTime ) : int
QueryPerformanceCounter ( ulong &lpPerformanceCount ) : bool
QueryPerformanceFrequency ( ulong &lpFrequency ) : bool
StressTheCPU ( uint aIterations, ulong aFactorialNumber, AutoResetEvent ev, LoadCpuCallback lcc ) : System.Boolean
WaitSleep ( int ms, AutoResetEvent ev, LoadCpuCallback lcc ) : void

메소드 상세

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

LoadCPU() 공개 메소드

public LoadCPU ( ProcessorQueryAndControl lpInfo, AutoResetEvent ev, UpdateUsage uu, LoadCpuCallback lcc, ManualResetEvent stopEvent ) : void
lpInfo ProcessorQueryAndControl
ev System.Threading.AutoResetEvent
uu UpdateUsage
lcc LoadCpuCallback
stopEvent System.Threading.ManualResetEvent
리턴 void