Package freenet.support.CPUInformation
Class VIAInfoImpl
java.lang.Object
freenet.support.CPUInformation.CPUIDCPUInfo
freenet.support.CPUInformation.VIAInfoImpl
- All Implemented Interfaces:
CPUInfo
,VIACPUInfo
class VIAInfoImpl extends CPUIDCPUInfo implements VIACPUInfo
Moved out of CPUID.java
- Since:
- 0.8.7
-
Constructor Summary
Constructors Constructor Description VIAInfoImpl()
-
Method Summary
Modifier and Type Method Description String
getCPUModelString()
boolean
hasX64()
boolean
IsC3Compatible()
boolean
IsNanoCompatible()
Methods inherited from class freenet.support.CPUInformation.CPUIDCPUInfo
getVendor, hasABM, hasADX, hasAES, hasAVX, hasAVX2, hasAVX512, hasBMI1, hasBMI2, hasFMA3, hasMMX, hasMOVBE, hasSSE, hasSSE2, hasSSE3, hasSSE41, hasSSE42, hasSSE4A, hasTBM
-
Constructor Details
-
VIAInfoImpl
VIAInfoImpl()
-
-
Method Details
-
IsC3Compatible
public boolean IsC3Compatible()- Specified by:
IsC3Compatible
in interfaceVIACPUInfo
- Returns:
- true if the CPU present in the machine is at least an 'c3' CPU
-
IsNanoCompatible
public boolean IsNanoCompatible()- Specified by:
IsNanoCompatible
in interfaceVIACPUInfo
- Returns:
- true if the CPU present in the machine is at least an 'nano' CPU
-
getCPUModelString
- Specified by:
getCPUModelString
in interfaceCPUInfo
- Overrides:
getCPUModelString
in classCPUIDCPUInfo
- Returns:
- A string detailing what type of CPU that is present in the machine. I.e. 'Pentium IV' etc.
-
hasX64
public boolean hasX64()- Specified by:
hasX64
in interfaceCPUInfo
- Overrides:
hasX64
in classCPUIDCPUInfo
- Returns:
- true iff the CPU supports the 64-bit support
-