Host { public double updateVmsProcessing(double currentTime) { double smallerTime = Double.MAX_VALUE; for (Vm vm : getVmList()) { double time = vm.updateVmProcessing( currentTime, getVmScheduler().getAllocatedMipsForVm(vm)); if (time > 0.0 && time < smallerTime) { smallerTime = time; } } return smallerTime; } Host(
			int id,
			RamProvisioner ramProvisioner,
			BwProvisioner bwProvisioner,
			long storage,
			List<? extends Pe> peList,
			VmScheduler vmScheduler); double updateVmsProcessing(double currentTime); void addMigratingInVm(Vm vm); void removeMigratingInVm(Vm vm); void reallocateMigratingInVms(); boolean isSuitableForVm(Vm vm); boolean vmCreate(Vm vm); void vmDestroy(Vm vm); void vmDestroyAll(); Vm getVm(int vmId, int userId); int getNumberOfPes(); int getNumberOfFreePes(); int getTotalMips(); boolean allocatePesForVm(Vm vm, List<Double> mipsShare); void deallocatePesForVm(Vm vm); List<Double> getAllocatedMipsForVm(Vm vm); double getTotalAllocatedMipsForVm(Vm vm); double getMaxAvailableMips(); double getAvailableMips(); long getBw(); int getRam(); long getStorage(); int getId(); RamProvisioner getRamProvisioner(); BwProvisioner getBwProvisioner(); VmScheduler getVmScheduler(); @SuppressWarnings("unchecked") List<T> getPeList(); @SuppressWarnings("unchecked") List<T> getVmList(); boolean isFailed(); boolean setFailed(String resName, boolean failed); boolean setFailed(boolean failed); boolean setPeStatus(int peId, int status); List<Vm> getVmsMigratingIn(); Datacenter getDatacenter(); void setDatacenter(Datacenter datacenter);  }
@Ignore @Test public void testUpdateVmsProcessing() { }