C# Class NiceHashMiner.Devices.CPUUtils

Afficher le fichier Open project: nicehash/NiceHashMiner

Méthodes publiques

Méthode Description
GetMostOptimized ( ) : CPUExtensionType

Returns most performant CPU extension based on settings. Returns automatic if NO extension is avaliable

IsCPUMiningCapable ( ) : bool

Checks if CPU mining is capable by checking GetMostOptimized is not automatic

Private Methods

Méthode Description
HasExtensionSupport ( CPUExtensionType type ) : bool

HasExtensionSupport checks CPU extensions support, if type automatic just return false.

Method Details

GetMostOptimized() public static méthode

Returns most performant CPU extension based on settings. Returns automatic if NO extension is avaliable
public static GetMostOptimized ( ) : CPUExtensionType
Résultat CPUExtensionType

IsCPUMiningCapable() public static méthode

Checks if CPU mining is capable by checking GetMostOptimized is not automatic
public static IsCPUMiningCapable ( ) : bool
Résultat bool