public class NetworkHost extends Host
Modifier and Type | Field and Description |
---|---|
double |
bandwidth |
List<Double> |
CPUfinTimeCPU
time when last job will finish on CPU1
|
double |
fintime |
double |
memory |
List<NetworkPacket> |
packetrecieved |
List<NetworkPacket> |
packetTosendGlobal |
List<NetworkPacket> |
packetTosendLocal |
Switch |
sw |
Constructor and Description |
---|
NetworkHost(int id,
RamProvisioner ramProvisioner,
BwProvisioner bwProvisioner,
long storage,
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, vmDestroyAll
public List<NetworkPacket> packetTosendLocal
public List<NetworkPacket> packetTosendGlobal
public List<NetworkPacket> packetrecieved
public double memory
public Switch sw
public double bandwidth
public double fintime
public NetworkHost(int id, RamProvisioner ramProvisioner, BwProvisioner bwProvisioner, long storage, List<? extends Pe> peList, VmScheduler vmScheduler)
public double updateVmsProcessing(double currentTime)
updateVmsProcessing
in class Host
currentTime
- the current timepublic double getMaxUtilizationAmongVmsPes(Vm vm)
Copyright © 2012 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.