Package freenet.support.CPUInformation
Class AMDInfoImpl
- java.lang.Object
-
- freenet.support.CPUInformation.CPUIDCPUInfo
-
- freenet.support.CPUInformation.AMDInfoImpl
-
- All Implemented Interfaces:
AMDCPUInfo,CPUInfo
class AMDInfoImpl extends CPUIDCPUInfo implements AMDCPUInfo
Moved out of CPUID.java Ref: http://en.wikipedia.org/wiki/List_of_AMD_CPU_microarchitectures- Since:
- 0.8.7
-
-
Constructor Summary
Constructors Constructor Description AMDInfoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCPUModelString()booleanIsAthlon64Compatible()booleanIsAthlonCompatible()booleanIsBobcatCompatible()booleanIsBulldozerCompatible()booleanIsExcavatorCompatible()booleanIsGeodeCompatible()booleanIsJaguarCompatible()booleanIsK10Compatible()booleanIsK6_2_Compatible()booleanIsK6_3_Compatible()booleanIsK6Compatible()booleanIsPiledriverCompatible()booleanIsSteamrollerCompatible()booleanIsZen2Compatible()booleanIsZenCompatible()-
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, hasX64
-
-
-
-
Method Detail
-
IsK6Compatible
public boolean IsK6Compatible()
- Specified by:
IsK6Compatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'k6' CPU
-
IsK6_2_Compatible
public boolean IsK6_2_Compatible()
- Specified by:
IsK6_2_Compatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'k6-2' CPU
-
IsK6_3_Compatible
public boolean IsK6_3_Compatible()
- Specified by:
IsK6_3_Compatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'k6-3' CPU
-
IsGeodeCompatible
public boolean IsGeodeCompatible()
- Specified by:
IsGeodeCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'geode' CPU
-
IsAthlonCompatible
public boolean IsAthlonCompatible()
- Specified by:
IsAthlonCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'k7' CPU (Atlhon, Duron etc. and better)
-
IsAthlon64Compatible
public boolean IsAthlon64Compatible()
- Specified by:
IsAthlon64Compatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'k8' CPU (Atlhon 64, Opteron etc. and better)
-
IsK10Compatible
public boolean IsK10Compatible()
- Specified by:
IsK10Compatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'k10' CPU
-
IsBobcatCompatible
public boolean IsBobcatCompatible()
- Specified by:
IsBobcatCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'bobcat' CPU
-
IsJaguarCompatible
public boolean IsJaguarCompatible()
- Specified by:
IsJaguarCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least an 'jaguar' CPU
-
IsBulldozerCompatible
public boolean IsBulldozerCompatible()
- Specified by:
IsBulldozerCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least a 'bulldozer' CPU
-
IsPiledriverCompatible
public boolean IsPiledriverCompatible()
- Specified by:
IsPiledriverCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least a 'piledriver' CPU
-
IsSteamrollerCompatible
public boolean IsSteamrollerCompatible()
- Specified by:
IsSteamrollerCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least a 'steamroller' CPU
-
IsExcavatorCompatible
public boolean IsExcavatorCompatible()
- Specified by:
IsExcavatorCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least a 'excavator' CPU
-
IsZenCompatible
public boolean IsZenCompatible()
- Specified by:
IsZenCompatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least a Zen family CPU
- Since:
- 0.9.48
-
IsZen2Compatible
public boolean IsZen2Compatible()
- Specified by:
IsZen2Compatiblein interfaceAMDCPUInfo- Returns:
- true if the CPU present in the machine is at least a Zen2 family CPU
- Since:
- 0.9.48
-
getCPUModelString
public String getCPUModelString() throws UnknownCPUException
- Specified by:
getCPUModelStringin interfaceCPUInfo- Overrides:
getCPUModelStringin classCPUIDCPUInfo- 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.
-
-