C# 클래스 IntelShared.Common.Papi

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

공개 프로퍼티들

프로퍼티 타입 설명
PAPI_SUCCESS uint

공개 메소드들

메소드 설명
GetCPUID ( CPUID_STRUCT &regs ) : bool
GetCPUName ( ) : string
GetCPUVendor ( ) : string
GetCpuSignature ( uint &stepping, uint &model, uint &family, uint &type ) : bool
GetCpuSignature ( ) : uint
GetPapiVersion ( string &dllVersion, string &drvVersion ) : uint
IsAtLeastRequiredVersion ( string required, string actual ) : bool
IsCPUNehalemOrGreater ( ) : bool
IsHTSupported ( ) : bool
IsTurboSupported ( uint turboControlMsr, uint turboControlBit ) : bool
IsValidPapiVersion ( string requiredDllVersion, string requiredDrvVersion, string &dllVersion, string &drvVersion ) : bool
MaxCoresPerPackage ( ) : uint
MaxLogicalProcessorsPerPackage ( ) : uint
ReadMPerfAPerf ( uint mPerfMsr, uint aPerfMsr, ulong &mPerf, ulong &aPerf ) : uint
ReadMSR ( UInt32 ulECX, UInt32 &pulEAX, UInt32 &pulEDX ) : bool
ReadMSR ( uint msr, ulong &value ) : bool
ReadPCIConfigSpaceDWord ( uint aBus, uint aDevice, uint aFunction, uint aRegister ) : uint
UninstallPAPIv2Driver ( ) : void
WriteMSR ( UInt32 ulECX, UInt32 &pulEAX, UInt32 &pulEDX ) : bool

비공개 메소드들

메소드 설명
ConvertDWORDToString ( UInt32 aDW ) : string
GetBDF ( uint aSegment, uint aBus, uint aDevice, uint aFunction ) : ulong
cCPUPackageInformation ( UInt32 PackageIndex, PLATFORM_CPU_PACKAGE_INFO &PackageInfo ) : UInt32
cCPUPlatformCPUData ( UInt32 &arrayLength, [ PackageInfo ) : UInt32
cGetPapiVersion ( [ dllVersion, [ nDllVersion, [ drvVersion, [ nDrvVersion ) : UInt32
cPAPI_CPU_CStateTestStart ( [ threads, [ threadsCount, [ seqItems, [ seqItemsCount, [ continuous, [ finishedEventName, [ seqIncrementEventName, [ handle ) : UInt32
cPAPI_CPU_CStateTestStop ( [ handle ) : UInt32
cPAPI_CPU_Read_MSRs ( [ msrArray, [ msrArraySize, [ msrOutArray, [ msrOutArraySize ) : UInt32
cPAPIv2DriverInstalled ( ) : UInt32
cPhysicalCPUs ( UInt32 &uiNumberOfPhysicalCPUs ) : UInt32
cReadConfigSpace ( [ device, [ register, [ bufferlength, [ SizeConst = 4)]byte[]buffer, [ flags ) : UInt32
cReadMPerfAPerf ( [ mPerfMsr, [ aPerfMsr, [ mPerf, [ aPerf ) : UInt32
cReadMSR ( MSR_STRUCT &Data ) : UInt32
cWriteMSR ( MSR_STRUCT &Data ) : UInt32
cpuid ( CPUID_STRUCT &regs ) : UInt32

메소드 상세

GetCPUID() 공개 정적인 메소드

public static GetCPUID ( CPUID_STRUCT &regs ) : bool
regs CPUID_STRUCT
리턴 bool

GetCPUName() 공개 정적인 메소드

public static GetCPUName ( ) : string
리턴 string

GetCPUVendor() 공개 정적인 메소드

public static GetCPUVendor ( ) : string
리턴 string

GetCpuSignature() 공개 정적인 메소드

public static GetCpuSignature ( uint &stepping, uint &model, uint &family, uint &type ) : bool
stepping uint
model uint
family uint
type uint
리턴 bool

GetCpuSignature() 공개 정적인 메소드

public static GetCpuSignature ( ) : uint
리턴 uint

GetPapiVersion() 공개 정적인 메소드

public static GetPapiVersion ( string &dllVersion, string &drvVersion ) : uint
dllVersion string
drvVersion string
리턴 uint

IsAtLeastRequiredVersion() 공개 정적인 메소드

public static IsAtLeastRequiredVersion ( string required, string actual ) : bool
required string
actual string
리턴 bool

IsCPUNehalemOrGreater() 공개 정적인 메소드

public static IsCPUNehalemOrGreater ( ) : bool
리턴 bool

IsHTSupported() 공개 정적인 메소드

public static IsHTSupported ( ) : bool
리턴 bool

IsTurboSupported() 공개 정적인 메소드

public static IsTurboSupported ( uint turboControlMsr, uint turboControlBit ) : bool
turboControlMsr uint
turboControlBit uint
리턴 bool

IsValidPapiVersion() 공개 정적인 메소드

public static IsValidPapiVersion ( string requiredDllVersion, string requiredDrvVersion, string &dllVersion, string &drvVersion ) : bool
requiredDllVersion string
requiredDrvVersion string
dllVersion string
drvVersion string
리턴 bool

MaxCoresPerPackage() 공개 정적인 메소드

public static MaxCoresPerPackage ( ) : uint
리턴 uint

MaxLogicalProcessorsPerPackage() 공개 정적인 메소드

public static MaxLogicalProcessorsPerPackage ( ) : uint
리턴 uint

ReadMPerfAPerf() 공개 정적인 메소드

public static ReadMPerfAPerf ( uint mPerfMsr, uint aPerfMsr, ulong &mPerf, ulong &aPerf ) : uint
mPerfMsr uint
aPerfMsr uint
mPerf ulong
aPerf ulong
리턴 uint

ReadMSR() 공개 정적인 메소드

public static ReadMSR ( UInt32 ulECX, UInt32 &pulEAX, UInt32 &pulEDX ) : bool
ulECX UInt32
pulEAX UInt32
pulEDX UInt32
리턴 bool

ReadMSR() 공개 정적인 메소드

public static ReadMSR ( uint msr, ulong &value ) : bool
msr uint
value ulong
리턴 bool

ReadPCIConfigSpaceDWord() 공개 정적인 메소드

public static ReadPCIConfigSpaceDWord ( uint aBus, uint aDevice, uint aFunction, uint aRegister ) : uint
aBus uint
aDevice uint
aFunction uint
aRegister uint
리턴 uint

UninstallPAPIv2Driver() 공개 정적인 메소드

public static UninstallPAPIv2Driver ( ) : void
리턴 void

WriteMSR() 공개 정적인 메소드

public static WriteMSR ( UInt32 ulECX, UInt32 &pulEAX, UInt32 &pulEDX ) : bool
ulECX UInt32
pulEAX UInt32
pulEDX UInt32
리턴 bool

프로퍼티 상세

PAPI_SUCCESS 공개적으로 정적으로 프로퍼티

public static uint PAPI_SUCCESS
리턴 uint