C# Class NiceHashMiner.CPUID

Afficher le fichier Open project: nicehash/NiceHashMiner Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
GetPhysicalProcessorCount ( ) : int
SupportsAES ( ) : int
SupportsAVX ( ) : int
SupportsAVX2 ( ) : int
SupportsSSE2 ( ) : int
_GetCPUName ( ) : IntPtr
_GetCPUVendor ( ) : IntPtr

Method Details

AdjustAffinity() public static méthode

public static AdjustAffinity ( int pid, ulong mask ) : void
pid int
mask ulong
Résultat void

CreateAffinityMask() public static méthode

public static CreateAffinityMask ( int index, int percpu ) : ulong
index int
percpu int
Résultat ulong

GetCPUName() public static méthode

public static GetCPUName ( ) : string
Résultat string

GetCPUVendor() public static méthode

public static GetCPUVendor ( ) : string
Résultat string

GetVirtualCoresCount() public static méthode

public static GetVirtualCoresCount ( ) : int
Résultat int