public final class VirtualMachine extends BasicMachine
Modifier and Type | Field and Description |
---|---|
String |
architecture |
long |
cache
The size of one top level (L3 or L2) cache unit in bytes.
|
int |
cores
The total number of processor cores.
|
int |
units
The number of top level (L3 or L2) cache units.
|
memory, threads
Modifier and Type | Method and Description |
---|---|
void |
collectGarbage() |
IntCount |
countCores() |
IntCount |
countThreads() |
IntCount |
countUnits() |
boolean |
equals(Object obj) |
static String |
getArchitecture() |
int |
getAvailableDim1D(long elementSize) |
int |
getAvailableDim2D(long elementSize) |
long |
getAvailableMemory() |
long |
getCacheElements(long elementSize) |
static long |
getMemory() |
long |
getMemoryElements(long elementSize) |
static int |
getThreads() |
int |
hashCode() |
boolean |
isMultiCore() |
boolean |
isMultiThread() |
boolean |
isMultiUnit() |
String |
toString() |
public final String architecture
public final long cache
public final int cores
public final int units
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 BasicMachine
public IntCount countCores()
public IntCount countThreads()
public IntCount countUnits()
public long getCacheElements(long elementSize)
public long getMemoryElements(long elementSize)
public boolean isMultiCore()
public boolean isMultiThread()
public boolean isMultiUnit()
Copyright © 2019 Optimatika. All rights reserved.