public class CPUID extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
CPUID.CPUIDResult
A class that can (amongst other things I assume) represent the state of the
different CPU registers after a call to the CPUID assembly method
|
Constructor and Description |
---|
CPUID() |
Modifier and Type | Method and Description |
---|---|
(package private) static int |
getCPUExtendedFamily()
Only valid if family == 15.
|
(package private) static int |
getCPUExtendedModel()
Only valid if family == 15, or, for Intel only, family == 6.
|
(package private) static int |
getCPUFamily() |
(package private) static int |
getCPUModel() |
(package private) static String |
getCPUModelName()
The model name string, up to 48 characters, as reported by
the processor itself.
|
(package private) static int |
getCPUStepping() |
(package private) static int |
getCPUType() |
(package private) static String |
getCPUVendorID() |
(package private) static int |
getECXCPUFlags() |
(package private) static int |
getEDXCPUFlags() |
(package private) static int |
getExtendedEBXFeatureFlags() |
(package private) static int |
getExtendedECXCPUFlags() |
(package private) static int |
getExtendedECXFeatureFlags()
There's almost nothing in here.
|
(package private) static int |
getExtendedEDXCPUFlags() |
static CPUInfo |
getInfo()
Returns a CPUInfo item for the current type of CPU
If I could I would declare this method in a interface named
CPUInfoProvider and implement that interface in this class.
|
static int |
getJcpuidVersion()
Return the jcpuid version
|
static void |
main(String[] args) |
public static int getJcpuidVersion()
static String getCPUVendorID()
static int getCPUFamily()
static int getCPUModel()
static int getCPUExtendedModel()
static int getCPUType()
static int getCPUExtendedFamily()
static int getCPUStepping()
static int getEDXCPUFlags()
static int getECXCPUFlags()
static int getExtendedECXCPUFlags()
static int getExtendedEDXCPUFlags()
static int getExtendedEBXFeatureFlags()
static int getExtendedECXFeatureFlags()
static String getCPUModelName()
public static CPUInfo getInfo() throws UnknownCPUException
UnknownCPUException
public static void main(String[] args)