public class NetworkHost extends Host
| Modifier and Type | Field and Description |
|---|---|
double |
bandwidth |
java.util.List<java.lang.Double> |
CPUfinTimeCPU
time when last job will finish on CPU1
|
double |
fintime |
double |
memory |
java.util.List<NetworkPacket> |
packetrecieved |
java.util.List<NetworkPacket> |
packetTosendGlobal |
java.util.List<NetworkPacket> |
packetTosendLocal |
Switch |
sw |
| Constructor and Description |
|---|
NetworkHost(int id,
RamProvisioner ramProvisioner,
BwProvisioner bwProvisioner,
long storage,
java.util.List<? extends Pe> peList,
VmScheduler vmScheduler) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMaxUtilizationAmongVmsPes(Vm vm) |
double |
updateVmsProcessing(double currentTime)
Requests updating of processing of cloudlets in the VMs running in this host.
|
addMigratingInVm, allocatePesForVm, deallocatePesForVm, getAllocatedMipsForVm, getAvailableMips, getBw, getBwProvisioner, getDatacenter, getId, getMaxAvailableMips, getNumberOfFreePes, getNumberOfPes, getPeList, getRam, getRamProvisioner, getStorage, getTotalAllocatedMipsForVm, getTotalMips, getVm, getVmList, getVmScheduler, getVmsMigratingIn, isFailed, isSuitableForVm, reallocateMigratingInVms, removeMigratingInVm, setBwProvisioner, setDatacenter, setFailed, setFailed, setId, setPeList, setPeStatus, setRamProvisioner, setStorage, setVmScheduler, vmCreate, vmDeallocate, vmDeallocateAll, vmDestroy, vmDestroyAllpublic java.util.List<NetworkPacket> packetTosendLocal
public java.util.List<NetworkPacket> packetTosendGlobal
public java.util.List<NetworkPacket> packetrecieved
public double memory
public Switch sw
public double bandwidth
public java.util.List<java.lang.Double> CPUfinTimeCPU
public double fintime
public NetworkHost(int id,
RamProvisioner ramProvisioner,
BwProvisioner bwProvisioner,
long storage,
java.util.List<? extends Pe> peList,
VmScheduler vmScheduler)
public double updateVmsProcessing(double currentTime)
updateVmsProcessing in class HostcurrentTime - the current timepublic double getMaxUtilizationAmongVmsPes(Vm vm)