freenet.support.CPUInformation
Interface CPUInfo
- All Known Subinterfaces:
- AMDCPUInfo, IntelCPUInfo
- All Known Implementing Classes:
- CPUID.AMDInfoImpl, CPUID.IntelInfoImpl, CPUID.VIAC3Impl
- public interface CPUInfo
- Author:
- Iakin
An interface for classes that provide lowlevel information about CPU's
free (adj.): unencumbered; not under the control of others
Written by Iakin in 2004 and released into the public domain
with no warranty of any kind, either expressed or implied.
It probably won't make your computer catch on fire, or eat
your children, but it might. Use at your own risk.
getVendor
public java.lang.String getVendor()
- Returns:
- A string indicating the vendor of the CPU.
getCPUModelString
public java.lang.String getCPUModelString()
throws UnknownCPUException
- Returns:
- A string detailing what type of CPU that is present in the machine. I.e. 'Pentium IV' etc.
- Throws:
UnknownCPUException
- If for any reson the retrieval of the requested information
failed. The message encapsulated in the execption indicates the
cause of the failure.
hasMMX
public boolean hasMMX()
- Returns:
- true iff the CPU support the MMX instruction set.
hasSSE
public boolean hasSSE()
- Returns:
- true iff the CPU support the SSE instruction set.
hasSSE2
public boolean hasSSE2()
- Returns:
- true iff the CPU support the SSE2 instruction set.
IsC3Compatible
public boolean IsC3Compatible()