C# Class NiceHashMiner.Devices.CPUUtils

显示文件 Open project: nicehash/NiceHashMiner

Public Methods

Method 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

Method Description
HasExtensionSupport ( CPUExtensionType type ) : bool

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

Method Details

GetMostOptimized() public static method

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

IsCPUMiningCapable() public static method

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