Modifier and Type | Class and Description |
---|---|
static class |
SoCpuDevice.ProcessorArchitectures
This enum contains the list of possible architectures for the CPU.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static SoCpuDevice |
findFirstAvailableDevice()
Returns the first available device found in the system.
|
SoCpuDevice.ProcessorArchitectures |
getArchitecture()
Returns the architecture of the processor.
|
int |
getCacheSize(int cacheLevel)
Returns the size of the cache on this device in bytes.
|
static SoCpuDevice |
getDevice()
Calls getDevice((int)0).
|
static SoCpuDevice |
getDevice(int index)
Returns the
SoCpuDevice . |
static int |
getDevicesCount()
Returns the total number of cores available in the sytem.
|
int |
getSSELevel()
Returns the SSE instruction level available on this device.
|
boolean |
hasMMX()
Returns true if MMX instructions are supported on this device.
|
boolean |
hasSSE()
Returns if SSE instructions are supported on this device.
|
boolean |
isActive()
Returns true if the CPU is active in the system.
|
getDeviceName, getDriverVersion, getLogicalUnits
dispose, getNativeResourceHandle
public static SoCpuDevice getDevice()
public int getSSELevel()
public static int getDevicesCount()
public int getCacheSize(int cacheLevel)
cacheLevel
- The cache level can be 1, 2, or 3.public static SoCpuDevice getDevice(int index)
SoCpuDevice
.
index
- not used.public static SoCpuDevice findFirstAvailableDevice()
public boolean hasSSE()
public boolean hasMMX()
public SoCpuDevice.ProcessorArchitectures getArchitecture()
public boolean isActive()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com