Package freenet.support.CPUInformation
Class CPUIDCPUInfo
- java.lang.Object
-
- freenet.support.CPUInformation.CPUIDCPUInfo
-
- All Implemented Interfaces:
CPUInfo
- Direct Known Subclasses:
AMDInfoImpl,IntelInfoImpl,VIAInfoImpl
class CPUIDCPUInfo extends Object implements CPUInfo
Moved out of CPUID.java Ref: http://en.wikipedia.org/wiki/CPUID- Since:
- 0.8.7
-
-
Constructor Summary
Constructors Constructor Description CPUIDCPUInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCPUModelString()StringgetVendor()booleanhasABM()Also known as LZCNTbooleanhasADX()Intel Multi-Precision Add-Carry Instruction Extensions Available in Broadwell.booleanhasAES()booleanhasAVX()booleanhasAVX2()booleanhasAVX512()Does the CPU supports the AVX-512 Foundation instruction set? Quote wikipedia: AVX-512 consists of multiple extensions not all meant to be supported by all processors implementing them.booleanhasBMI1()booleanhasBMI2()booleanhasFMA3()booleanhasMMX()booleanhasMOVBE()booleanhasSSE()booleanhasSSE2()booleanhasSSE3()booleanhasSSE41()booleanhasSSE42()booleanhasSSE4A()AMD K10 only.booleanhasTBM()Trailing Bit Manipulation (AMD feature)booleanhasX64()
-
-
-
Method Detail
-
getVendor
public String getVendor()
-
hasMMX
public boolean hasMMX()
-
hasSSE
public boolean hasSSE()
-
hasSSE2
public boolean hasSSE2()
-
hasSSE3
public boolean hasSSE3()
-
hasSSE41
public boolean hasSSE41()
-
hasSSE42
public boolean hasSSE42()
-
hasSSE4A
public boolean hasSSE4A()
Description copied from interface:CPUInfoAMD K10 only. Not supported on Intel. ref: https://en.wikipedia.org/wiki/SSE4.2#SSE4a
-
hasAVX
public boolean hasAVX()
-
hasAVX2
public boolean hasAVX2()
-
hasAVX512
public boolean hasAVX512()
Does the CPU supports the AVX-512 Foundation instruction set? Quote wikipedia: AVX-512 consists of multiple extensions not all meant to be supported by all processors implementing them. Only the core extension AVX-512F (AVX-512 Foundation) is required by all implementations. ref: https://en.wikipedia.org/wiki/AVX-512
-
hasADX
public boolean hasADX()
Intel Multi-Precision Add-Carry Instruction Extensions Available in Broadwell. Unused until GMP 6.1.
-
hasTBM
public boolean hasTBM()
Trailing Bit Manipulation (AMD feature)
-
hasAES
public boolean hasAES()
-
hasX64
public boolean hasX64()
-
hasBMI1
public boolean hasBMI1()
-
hasBMI2
public boolean hasBMI2()
-
hasFMA3
public boolean hasFMA3()
-
hasMOVBE
public boolean hasMOVBE()
-
hasABM
public boolean hasABM()
Also known as LZCNT
-
getCPUModelString
public String getCPUModelString() throws UnknownCPUException
- Specified by:
getCPUModelStringin interfaceCPUInfo- Returns:
- A string detailing what type of CPU that is present in the machine. I.e. 'Pentium IV' etc.
- Throws:
UnknownCPUException- If for any reason the retrieval of the requested information failed. The message encapsulated in the execption indicates the cause of the failure.
-
-