freenet.support.CPUInformation
Class IntelInfoImpl
java.lang.Object
freenet.support.CPUInformation.CPUIDCPUInfo
freenet.support.CPUInformation.IntelInfoImpl
- All Implemented Interfaces:
- CPUInfo, IntelCPUInfo
class IntelInfoImpl
- extends CPUIDCPUInfo
- implements IntelCPUInfo
Moved out of CPUID.java
Ref: https://software.intel.com/en-us/articles/intel-architecture-and-processor-identification-with-cpuid-model-and-family-numbers
Ref: http://en.wikipedia.org/wiki/List_of_Intel_CPU_microarchitectures
- Since:
- 0.8.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntelInfoImpl
IntelInfoImpl()
IsPentiumCompatible
public boolean IsPentiumCompatible()
- Specified by:
IsPentiumCompatible
in interface IntelCPUInfo
- Returns:
- true if the CPU is at least a Pentium CPU.
IsPentiumMMXCompatible
public boolean IsPentiumMMXCompatible()
- Specified by:
IsPentiumMMXCompatible
in interface IntelCPUInfo
- Returns:
- true if the CPU is at least a Pentium which implements the MMX instruction/feature set.
IsPentium2Compatible
public boolean IsPentium2Compatible()
- Specified by:
IsPentium2Compatible
in interface IntelCPUInfo
- Returns:
- true if the CPU implements at least the p6 instruction set (Pentium II or better).
Please note that an PentimPro CPU causes/should cause this method to return false (due to that CPU using a
very early implementation of the p6 instruction set. No MMX etc.)
IsPentium3Compatible
public boolean IsPentium3Compatible()
- Specified by:
IsPentium3Compatible
in interface IntelCPUInfo
- Returns:
- true if the CPU implements at least a Pentium III level of the p6 instruction/feature set.
IsPentium4Compatible
public boolean IsPentium4Compatible()
- Specified by:
IsPentium4Compatible
in interface IntelCPUInfo
- Returns:
- true if the CPU implements at least a Pentium IV level instruction/feature set.
IsPentiumMCompatible
public boolean IsPentiumMCompatible()
- Specified by:
IsPentiumMCompatible
in interface IntelCPUInfo
- Returns:
- true if the CPU implements at least a Pentium M level instruction/feature set.
IsAtomCompatible
public boolean IsAtomCompatible()
- Specified by:
IsAtomCompatible
in interface IntelCPUInfo
- Returns:
- true if the CPU implements at least a Atom level instruction/feature set.
IsCore2Compatible
public boolean IsCore2Compatible()
- Supports the SSE 3 instructions
- Specified by:
IsCore2Compatible
in interface IntelCPUInfo
- Returns:
- true if the CPU implements at least a Core2 level instruction/feature set.
IsCoreiCompatible
public boolean IsCoreiCompatible()
- Supports the SSE 3, 4.1, 4.2 instructions.
In general, this requires 45nm or smaller process.
- Specified by:
IsCoreiCompatible
in interface IntelCPUInfo
- Returns:
- true if the CPU implements at least a Corei level instruction/feature set.
getCPUModelString
public String getCPUModelString()
throws UnknownCPUException
- Specified by:
getCPUModelString
in interface CPUInfo
- 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.
hasX64
public boolean hasX64()
- Specified by:
hasX64
in class CPUIDCPUInfo