public interface PowerHost extends HostDynamicWorkload
PowerModel
.Modifier and Type | Field and Description |
---|---|
static PowerHost |
NULL
An attribute that implements the Null Object Design Pattern for
PowerHost
objects. |
Modifier and Type | Method and Description |
---|---|
double |
getEnergyLinearInterpolation(double fromUtilization,
double toUtilization,
double time)
Gets the energy consumption using linear interpolation of the utilization change.
|
double |
getMaxPower()
Gets the max power that can be consumed by the host.
|
double |
getPower()
Gets the current power consumption of the host.
|
PowerModel |
getPowerModel()
Gets the power model used by the host
to define how it consumes power.
|
PowerHost |
setPowerModel(PowerModel powerModel)
Sets the power model.
|
addStateHistoryEntry, getFinishedVms, getMaxUtilization, getMaxUtilizationAmongVmsPes, getPreviousUtilizationMips, getPreviousUtilizationOfCpu, getStateHistory
addMigratingInVm, addOnUpdateProcessingListener, addVmMigratingOut, allocatePesForVm, createTemporaryVm, createVm, deallocatePesForVm, destroyAllVms, destroyTemporaryVm, destroyVm, getAllocatedMipsForVm, getAvailableMips, getAvailableStorage, getBwProvisioner, getDatacenter, getMaxAvailableMips, getNumberOfFailedPes, getNumberOfFreePes, getNumberOfWorkingPes, getPeList, getProvisioner, getRamProvisioner, getTotalAllocatedMipsForVm, getTotalMipsCapacity, getUtilizationOfBw, getUtilizationOfCpu, getUtilizationOfCpuMips, getUtilizationOfRam, getVm, getVmList, getVmScheduler, getVmsMigratingIn, getVmsMigratingOut, getWorkingPeList, isActive, isFailed, isSuitableForVm, reallocateMigratingInVms, removeMigratingInVm, removeOnUpdateProcessingListener, removeVmMigratingIn, removeVmMigratingOut, setActive, setBwProvisioner, setDatacenter, setFailed, setPeStatus, setRamProvisioner, setSimulation, setVmScheduler, updateProcessing
getBw, getMips, getNumberOfPes, getRam, getSimulation, getStorage
setId
getId
getResource, getResources
compareTo
double getEnergyLinearInterpolation(double fromUtilization, double toUtilization, double time)
fromUtilization
- the initial utilization percentagetoUtilization
- the final utilization percentagetime
- the timedouble getMaxPower()
double getPower()
Pe
s.PowerModel getPowerModel()
PowerHost setPowerModel(PowerModel powerModel)
powerModel
- the new power modelCopyright © 2015–2017 Systems, Security and Image Communication Lab - Instituto de Telecomunicações (IT) - Universidade da Beira Interior (UBI) - Instituto Federal de Educação Ciência e Tecnologia do Tocantins (IFTO). All rights reserved.