C# 클래스 IntelShared.Common.ProcessorQueryAndControl

파일 보기 프로젝트 열기: 01org/NMPRK 1 사용 예제들

공개 메소드들

메소드 설명
DecodeTimeWindowForPowerLimit ( ulong val, double timeUnit ) : double
EncodeTimeWindowForPowerLimit ( double val, double timeUnit ) : ulong
FromBinaryFractionFormat ( BitArray ba ) : double
GetCpuInfo ( int &phyProc, int &cores, int &logProc, LogicalProcessorInfo &aProcessorList ) : void
GetCurrentFrequency ( int miMaxNonTurboRatio ) : double
GetCurrentPState ( int &PState, int &NumPStates ) : bool
GetCurrentProcessorNumber ( ushort &group ) : uint
GetMaxNonTurboRatio ( ) : int
GetMinNonTurboRatio ( ) : int
GetPStateVoltage ( uint msr, BitRange range ) : float
GetPackagePowerLimitValues ( PackagePowerLimitIndex idx ) : PackagePowerLimit
GetRaplPowerUnits ( double &powerUnits, double &energyUnits, double &timeUnits ) : bool
GetRegisterValue ( uint msr, int bit ) : bool
GetRegisterValue ( uint msr ) : ulong
GetRegisterValue ( uint msr, BitRange range ) : ulong
GetTSC ( ) : ulong
GetTurboBoostStatus ( bool &Enabled, double &Frequency, int &PState, int &NumPStates ) : bool
GetTurboModeDisable ( bool &disable ) : bool
SetAffinity ( LogicalProcessorInfo lpInfo ) : void
SetPackagePowerLimitValues ( PackagePowerLimitIndex idx, PackagePowerLimit ppl, PackagePowerLimitMask mask ) : void
SetRegisterValue ( uint msr, int bit, bool val ) : bool
SetRegisterValue ( uint msr, BitRange range, ulong value ) : ulong
SetTurboModeDisable ( bool disable ) : bool

비공개 메소드들

메소드 설명
CheckForGPPExEntryPoint ( ) : bool
CloseHandle ( [ hObject ) : bool
CountNumberOfBitsSetInMask ( UIntPtr bitMask ) : uint
CreateMask ( uint aStart, uint aStop ) : ulong
DuplicateHandle ( IntPtr hSourceProcessHandle, IntPtr hSourceHandle, IntPtr hTargetProcessHandle, IntPtr &lpTargetHandle, uint dwDesiredAccess, [ bInheritHandle, uint dwOptions ) : bool
Fail ( ) : Exception
GetActiveProcessorCount ( [ GroupNumber ) : int
GetActiveProcessorGroupCount ( ) : ushort
GetCacheType ( _PROCESSOR_CACHE_TYPE value ) : string
GetCountsForGT64LPs ( _LOGICAL_PROCESSOR_RELATIONSHIP aType, int &aCount, LogicalProcessorInfo &aProcessorList ) : bool
GetCurrentProcessorNumber ( ) : uint
GetCurrentProcessorNumberEx ( _PROCESSOR_NUMBER &ProcNumber ) : uint
GetCurrentThread ( ) : IntPtr
GetLogicalProcessorInformation ( [ infos, uint &infoSize ) : bool
GetLogicalProcessorInformationEx ( [ RelationshipType, [ Buffer, uint &ReturnedLength ) : bool
GetLogicalProcessorInformationExWrapper ( _LOGICAL_PROCESSOR_RELATIONSHIP _LOGICAL_PROCESSOR_RELATIONSHIP, _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_P oDummy, uint &returnLength ) : bool
GetMaximumProcessorCount ( [ GroupNumber ) : int
GetMaximumProcessorGroupCount ( ) : ushort
GetNumaDataArray ( _LOGICAL_PROCESSOR_RELATIONSHIP aType ) : _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_N[]
GetNumaNodeProcessorMaskEx ( [ Node, _GROUP_AFFINITY &ProcessorMask ) : bool
GetPackagePowerLimit1_RegVal ( ) : ulong
GetPackagePowerLimit2_RegVal ( ) : ulong
GetPhysicalProcessorCount ( int &aCores, int &aLPs, LogicalProcessorInfo &aProcessorList ) : int
GetPhysicalProcessorCountForGT64LPs ( int &aCores, int &aLPs, LogicalProcessorInfo &aProcessorList ) : int
GetProcessorDataArray ( _LOGICAL_PROCESSOR_RELATIONSHIP aType ) : _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_P[]
GetProcessorInfo64 ( ) : List
GetProcessorInfo86 ( ) : List
GetThreadGroupAffinity ( IntPtr hThread, _GROUP_AFFINITY &GroupAffinity ) : bool
GetTimeWindowPowerLimit1_RegVal ( ) : ulong
GetTimeWindowPowerLimit2_RegVal ( ) : ulong
ProcessorQueryAndControl ( ) : System
ReadMPerfAPerf ( ulong &MPERF, ulong &APERF ) : void
SetThreadAffinityMask ( IntPtr hThread, UIntPtr dwThreadAffinityMask ) : UIntPtr
SetThreadGroupAffinity ( IntPtr hThread, _GROUP_AFFINITY &GroupAffinity, _GROUP_AFFINITY &PreviousGroupAffinity ) : System.Boolean

메소드 상세

DecodeTimeWindowForPowerLimit() 공개 정적인 메소드

public static DecodeTimeWindowForPowerLimit ( ulong val, double timeUnit ) : double
val ulong
timeUnit double
리턴 double

EncodeTimeWindowForPowerLimit() 공개 정적인 메소드

public static EncodeTimeWindowForPowerLimit ( double val, double timeUnit ) : ulong
val double
timeUnit double
리턴 ulong

FromBinaryFractionFormat() 공개 정적인 메소드

public static FromBinaryFractionFormat ( BitArray ba ) : double
ba System.Collections.BitArray
리턴 double

GetCpuInfo() 공개 정적인 메소드

public static GetCpuInfo ( int &phyProc, int &cores, int &logProc, LogicalProcessorInfo &aProcessorList ) : void
phyProc int
cores int
logProc int
aProcessorList LogicalProcessorInfo
리턴 void

GetCurrentFrequency() 공개 정적인 메소드

public static GetCurrentFrequency ( int miMaxNonTurboRatio ) : double
miMaxNonTurboRatio int
리턴 double

GetCurrentPState() 공개 정적인 메소드

public static GetCurrentPState ( int &PState, int &NumPStates ) : bool
PState int
NumPStates int
리턴 bool

GetCurrentProcessorNumber() 공개 정적인 메소드

public static GetCurrentProcessorNumber ( ushort &group ) : uint
group ushort
리턴 uint

GetMaxNonTurboRatio() 공개 정적인 메소드

public static GetMaxNonTurboRatio ( ) : int
리턴 int

GetMinNonTurboRatio() 공개 정적인 메소드

public static GetMinNonTurboRatio ( ) : int
리턴 int

GetPStateVoltage() 공개 정적인 메소드

public static GetPStateVoltage ( uint msr, BitRange range ) : float
msr uint
range BitRange
리턴 float

GetPackagePowerLimitValues() 공개 정적인 메소드

public static GetPackagePowerLimitValues ( PackagePowerLimitIndex idx ) : PackagePowerLimit
idx PackagePowerLimitIndex
리턴 PackagePowerLimit

GetRaplPowerUnits() 공개 정적인 메소드

public static GetRaplPowerUnits ( double &powerUnits, double &energyUnits, double &timeUnits ) : bool
powerUnits double
energyUnits double
timeUnits double
리턴 bool

GetRegisterValue() 공개 정적인 메소드

public static GetRegisterValue ( uint msr, int bit ) : bool
msr uint
bit int
리턴 bool

GetRegisterValue() 공개 정적인 메소드

public static GetRegisterValue ( uint msr ) : ulong
msr uint
리턴 ulong

GetRegisterValue() 공개 정적인 메소드

public static GetRegisterValue ( uint msr, BitRange range ) : ulong
msr uint
range BitRange
리턴 ulong

GetTSC() 공개 정적인 메소드

public static GetTSC ( ) : ulong
리턴 ulong

GetTurboBoostStatus() 공개 정적인 메소드

public static GetTurboBoostStatus ( bool &Enabled, double &Frequency, int &PState, int &NumPStates ) : bool
Enabled bool
Frequency double
PState int
NumPStates int
리턴 bool

GetTurboModeDisable() 공개 정적인 메소드

public static GetTurboModeDisable ( bool &disable ) : bool
disable bool
리턴 bool

SetAffinity() 공개 정적인 메소드

public static SetAffinity ( LogicalProcessorInfo lpInfo ) : void
lpInfo LogicalProcessorInfo
리턴 void

SetPackagePowerLimitValues() 공개 정적인 메소드

public static SetPackagePowerLimitValues ( PackagePowerLimitIndex idx, PackagePowerLimit ppl, PackagePowerLimitMask mask ) : void
idx PackagePowerLimitIndex
ppl PackagePowerLimit
mask PackagePowerLimitMask
리턴 void

SetRegisterValue() 공개 정적인 메소드

public static SetRegisterValue ( uint msr, int bit, bool val ) : bool
msr uint
bit int
val bool
리턴 bool

SetRegisterValue() 공개 정적인 메소드

public static SetRegisterValue ( uint msr, BitRange range, ulong value ) : ulong
msr uint
range BitRange
value ulong
리턴 ulong

SetTurboModeDisable() 공개 정적인 메소드

public static SetTurboModeDisable ( bool disable ) : bool
disable bool
리턴 bool