| Package | Description |
|---|---|
| org.cloudbus.cloudsim | |
| org.cloudbus.cloudsim.lists | |
| org.cloudbus.cloudsim.network.datacenter | |
| org.cloudbus.cloudsim.power |
| Modifier and Type | Method and Description |
|---|---|
<T extends Pe> |
Host.getPeList()
Gets the pe list.
|
<T extends Pe> |
VmScheduler.getPeList()
Gets the vm list.
|
protected <T extends Pe> |
Host.setPeList(java.util.List<T> peList)
Sets the pe list.
|
protected <T extends Pe> |
VmScheduler.setPeList(java.util.List<T> peList)
Sets the vm list.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Pe> |
VmSchedulerSpaceShared.getFreePes()
Gets the free pes vector.
|
protected java.util.Map<java.lang.String,java.util.List<Pe>> |
VmSchedulerSpaceShared.getPeAllocationMap()
Gets the pe allocation map.
|
java.util.Map<java.lang.String,java.util.List<Pe>> |
VmScheduler.getPeMap()
Gets the pe map.
|
java.util.List<Pe> |
VmScheduler.getPesAllocatedForVM(Vm vm)
Gets the pes allocated for vm.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
VmSchedulerSpaceShared.setFreePes(java.util.List<Pe> freePes)
Sets the free pes vector.
|
protected void |
VmSchedulerSpaceShared.setPeAllocationMap(java.util.Map<java.lang.String,java.util.List<Pe>> peAllocationMap)
Sets the pe allocation map.
|
protected void |
VmScheduler.setPeMap(java.util.Map<java.lang.String,java.util.List<Pe>> peMap)
Sets the pe map.
|
| Constructor and Description |
|---|
Host(int id,
RamProvisioner ramProvisioner,
BwProvisioner bwProvisioner,
long storage,
java.util.List<? extends Pe> peList,
VmScheduler vmScheduler)
Instantiates a new host.
|
HostDynamicWorkload(int id,
RamProvisioner ramProvisioner,
BwProvisioner bwProvisioner,
long storage,
java.util.List<? extends Pe> peList,
VmScheduler vmScheduler)
Instantiates a new host.
|
VmScheduler(java.util.List<? extends Pe> pelist)
Creates a new HostAllocationPolicy.
|
VmSchedulerSpaceShared(java.util.List<? extends Pe> pelist)
Instantiates a new vm scheduler space shared.
|
VmSchedulerTimeShared(java.util.List<? extends Pe> pelist)
Instantiates a new vm scheduler time shared.
|
VmSchedulerTimeSharedOverSubscription(java.util.List<? extends Pe> pelist)
Instantiates a new vm scheduler time shared over subscription.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Pe> |
PeList.getById(java.util.List<T> peList,
int id)
Gets MIPS Rating for a specified Pe ID.
|
static <T extends Pe> |
PeList.getFreePe(java.util.List<T> peList)
Gets a Pe ID which is FREE.
|
static <T extends Pe> |
PeList.getMaxUtilization(java.util.List<T> peList)
Gets the max utilization among by all PEs.
|
static <T extends Pe> |
PeList.getMaxUtilizationAmongVmsPes(java.util.List<T> peList,
Vm vm)
Gets the max utilization among by all PEs allocated to the VM.
|
static <T extends Pe> |
PeList.getMips(java.util.List<T> peList,
int id)
Gets MIPS Rating for a specified Pe ID.
|
static <T extends Pe> |
PeList.getNumberOfBusyPes(java.util.List<T> peList)
Gets the number of BUSY Pe.
|
static <T extends Pe> |
PeList.getNumberOfFreePes(java.util.List<T> peList)
Gets the number of FREE or non-busy Pe.
|
static <T extends Pe> |
PeList.getTotalMips(java.util.List<T> peList)
Gets total MIPS Rating for all PEs.
|
static <T extends Pe> |
PeList.setPeStatus(java.util.List<T> peList,
int id,
int status)
Sets the Pe status.
|
static <T extends Pe> |
PeList.setStatusFailed(java.util.List<T> peList,
boolean failed)
Sets the status of PEs of this machine to FAILED.
|
static <T extends Pe> |
PeList.setStatusFailed(java.util.List<T> peList,
java.lang.String resName,
int hostId,
boolean failed)
Sets the status of PEs of this machine to FAILED.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Pe> |
PeList.getById(java.util.List<T> peList,
int id)
Gets MIPS Rating for a specified Pe ID.
|
static <T extends Pe> |
PeList.getFreePe(java.util.List<T> peList)
Gets a Pe ID which is FREE.
|
| Constructor and Description |
|---|
NetworkHost(int id,
RamProvisioner ramProvisioner,
BwProvisioner bwProvisioner,
long storage,
java.util.List<? extends Pe> peList,
VmScheduler vmScheduler) |
| Constructor and Description |
|---|
PowerHost(int id,
RamProvisioner ramProvisioner,
BwProvisioner bwProvisioner,
long storage,
java.util.List<? extends Pe> peList,
VmScheduler vmScheduler,
PowerModel powerModel)
Instantiates a new host.
|
PowerHostUtilizationHistory(int id,
RamProvisioner ramProvisioner,
BwProvisioner bwProvisioner,
long storage,
java.util.List<? extends Pe> peList,
VmScheduler vmScheduler,
PowerModel powerModel)
Instantiates a new power host utilization history.
|