public class CPU
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
CPU.CPUv
Inner CPU class to instantiate virtual CPUs
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Comparator<CPU> |
freeVirtualCPUsComparator
Comparator for sorting virtual CPUs by number of free virtual CPUs
|
| Constructor and Description |
|---|
CPU(int iNoVirtualCPUs) |
| Modifier and Type | Method and Description |
|---|---|
CPU.CPUv[] |
getVirtualCPUS()
getter and setter methods
|
boolean |
isActive() |
boolean |
isOccupied() |
public static java.util.Comparator<CPU> freeVirtualCPUsComparator
public CPU.CPUv[] getVirtualCPUS()
public boolean isActive()
public boolean isOccupied()