C# Class NiceHashMiner.CPUID

Exibir arquivo Open project: nicehash/NiceHashMiner Class Usage Examples

Public Methods

Method Description
AdjustAffinity ( int pid, ulong mask ) : void
CreateAffinityMask ( int index, int percpu ) : ulong
GetCPUName ( ) : string
GetCPUVendor ( ) : string
GetVirtualCoresCount ( ) : int

Private Methods

Method Description
GetPhysicalProcessorCount ( ) : int
SupportsAES ( ) : int
SupportsAVX ( ) : int
SupportsAVX2 ( ) : int
SupportsSSE2 ( ) : int
_GetCPUName ( ) : IntPtr
_GetCPUVendor ( ) : IntPtr

Method Details

AdjustAffinity() public static method

public static AdjustAffinity ( int pid, ulong mask ) : void
pid int
mask ulong
return void

CreateAffinityMask() public static method

public static CreateAffinityMask ( int index, int percpu ) : ulong
index int
percpu int
return ulong

GetCPUName() public static method

public static GetCPUName ( ) : string
return string

GetCPUVendor() public static method

public static GetCPUVendor ( ) : string
return string

GetVirtualCoresCount() public static method

public static GetVirtualCoresCount ( ) : int
return int