freenet.support.CPUInformation
Class CPUIDCPUInfo

java.lang.Object
  extended by freenet.support.CPUInformation.CPUIDCPUInfo
All Implemented Interfaces:
CPUInfo
Direct Known Subclasses:
AMDInfoImpl, IntelInfoImpl, VIAInfoImpl

abstract class CPUIDCPUInfo
extends Object
implements CPUInfo

Moved out of CPUID.java Ref: http://en.wikipedia.org/wiki/CPUID

Since:
0.8.7

Field Summary
protected static boolean isX64
           
 
Constructor Summary
CPUIDCPUInfo()
           
 
Method Summary
 String getVendor()
           
 boolean hasAES()
           
 boolean hasMMX()
           
 boolean hasSSE()
           
 boolean hasSSE2()
           
 boolean hasSSE3()
           
 boolean hasSSE41()
           
 boolean hasSSE42()
           
 boolean hasSSE4A()
           
abstract  boolean hasX64()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface freenet.support.CPUInformation.CPUInfo
getCPUModelString
 

Field Detail

isX64

protected static boolean isX64
Constructor Detail

CPUIDCPUInfo

CPUIDCPUInfo()
Method Detail

getVendor

public String getVendor()
Specified by:
getVendor in interface CPUInfo
Returns:
A string indicating the vendor of the CPU.

hasMMX

public boolean hasMMX()
Specified by:
hasMMX in interface CPUInfo
Returns:
true iff the CPU support the MMX instruction set.

hasSSE

public boolean hasSSE()
Specified by:
hasSSE in interface CPUInfo
Returns:
true iff the CPU support the SSE instruction set.

hasSSE2

public boolean hasSSE2()
Specified by:
hasSSE2 in interface CPUInfo
Returns:
true iff the CPU support the SSE2 instruction set.

hasSSE3

public boolean hasSSE3()
Specified by:
hasSSE3 in interface CPUInfo
Returns:
true iff the CPU support the SSE3 instruction set.

hasSSE41

public boolean hasSSE41()
Specified by:
hasSSE41 in interface CPUInfo
Returns:
true iff the CPU support the SSE4.1 instruction set.

hasSSE42

public boolean hasSSE42()
Specified by:
hasSSE42 in interface CPUInfo
Returns:
true iff the CPU support the SSE4.2 instruction set.

hasSSE4A

public boolean hasSSE4A()
Specified by:
hasSSE4A in interface CPUInfo
Returns:
true iff the CPU support the SSE4A instruction set.

hasAES

public boolean hasAES()
Specified by:
hasAES in interface CPUInfo
Returns:
true iff the CPU supports the AES-NI instruction set.
Since:
0.9.14

hasX64

public abstract boolean hasX64()