public static final class CentralProcessor.ProcessorIdentifier extends Object
| Constructor and Description |
|---|
ProcessorIdentifier(String cpuVendor,
String cpuName,
String cpuFamily,
String cpuModel,
String cpuStepping,
String processorID,
boolean cpu64bit) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFamily()
Gets the family.
|
String |
getIdentifier()
Identifier, eg.
|
String |
getModel()
Gets the model.
|
String |
getName()
Name, eg.
|
String |
getProcessorID()
Gets the Processor ID.
|
String |
getStepping()
Gets the stepping.
|
String |
getVendor()
Processor vendor.
|
long |
getVendorFreq()
Vendor frequency (in Hz), eg.
|
boolean |
isCpu64bit()
Is CPU 64bit?
|
String |
toString() |
public String getVendor()
public String getName()
public String getFamily()
public String getModel()
public String getStepping()
public String getProcessorID()
getIdentifier() . The remaining four bytes are the contents of the
EDX register, containing feature flags.
For processors that do not support the CPUID opcode this field is populated with a comparable hex string. For example, ARM Processors will fill the first 32 bytes with the MIDR.
NOTE: The order of returned bytes is platform and software dependent. Values may be in either Big Endian or Little Endian order.
NOTE: If OSHI is unable to determine the ProcessorID from native sources, it will attempt to reconstruct one from available information in the processor identifier.
public String getIdentifier()
public boolean isCpu64bit()
public long getVendorFreq()
Copyright © 2020. All rights reserved.