|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.ojalgo.machine.BasicMachine
org.ojalgo.machine.VirtualMachine
public final class VirtualMachine
| Field Summary | |
|---|---|
String |
architecture
|
long |
cacheL1
The size of one L1 cache unit in bytes. |
long |
cacheL2
The size of one L2 cache unit in bytes. |
long |
cacheL3
The size of one L3 cache unit in bytes. |
int |
cores
The total number of processor cores. |
int |
processors
The number of L3 cache units. |
int |
units
The number of L2 cache units. |
| Fields inherited from class org.ojalgo.machine.BasicMachine |
|---|
memory, threads |
| Method Summary | |
|---|---|
void |
collectGarbage()
|
IntCount |
countCores()
|
IntCount |
countProcessors()
|
IntCount |
countThreads()
|
IntCount |
countUnits()
|
boolean |
equals(Object obj)
|
static String |
getArchitecture()
|
int |
getAvailableDim1D(long elementSize)
|
int |
getAvailableDim2D(long elementSize)
|
long |
getAvailableMemory()
|
int |
getCacheL1Dim1D(long elementSize)
|
int |
getCacheL1Dim2D(long elementSize)
|
int |
getCacheL2Dim1D(long elementSize)
The dimension (length) of an array that will fit in an L2 cache unit given the input element size. |
int |
getCacheL2Dim2D(long elementSize)
The dimension (row and/or col count) of a (2 dimensional) array that will fit in an L2 cache unit given the input element size. |
int |
getCacheL3Dim1D(long elementSize)
|
int |
getCacheL3Dim2D(long elementSize)
|
static long |
getMemory()
|
int |
getMemoryDim1D(long elementSize)
|
int |
getMemoryDim2D(long elementSize)
|
static int |
getThreads()
|
int |
hashCode()
|
boolean |
isMultiCore()
|
boolean |
isMultiProcessor()
|
boolean |
isMultiThread()
|
boolean |
isMultiUnit()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final long cacheL1
public final long cacheL2
public final long cacheL3
public final String architecture
public final int cores
public final int processors
units.
public final int units
1.
| Method Detail |
|---|
public static String getArchitecture()
public static long getMemory()
public static int getThreads()
public void collectGarbage()
public boolean equals(Object obj)
public int getAvailableDim1D(long elementSize)
public int getAvailableDim2D(long elementSize)
public long getAvailableMemory()
public int hashCode()
public String toString()
toString in class BasicMachinepublic IntCount countCores()
public IntCount countProcessors()
public IntCount countThreads()
public IntCount countUnits()
public int getCacheL1Dim1D(long elementSize)
public int getCacheL1Dim2D(long elementSize)
public int getCacheL2Dim1D(long elementSize)
public int getCacheL2Dim2D(long elementSize)
public int getCacheL3Dim1D(long elementSize)
public int getCacheL3Dim2D(long elementSize)
public int getMemoryDim1D(long elementSize)
public int getMemoryDim2D(long elementSize)
public boolean isMultiCore()
public boolean isMultiProcessor()
public boolean isMultiThread()
public boolean isMultiUnit()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||