public abstract class PowerModelSpecPower extends PowerModelAbstract
If you are using any algorithms, policies or workload included in the power package please cite the following paper:
NULL
Constructor and Description |
---|
PowerModelSpecPower() |
Modifier and Type | Method and Description |
---|---|
double |
getMaxPower()
Gets the max power that can be supplied by the host in Watts (W).
|
protected abstract double |
getPowerData(int index)
Gets the power consumption for a given utilization percentage.
|
protected double |
getPowerInternal(double utilization)
An internal method to be implemented by sub classes
to get the power supply for the current CPU utilization.
|
getEnergyLinearInterpolation, getHost, getPower, getPower, setHost
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPowerInKWatts, wattsSecToKWattsHour
public double getMaxPower()
PowerModel
protected double getPowerInternal(double utilization) throws IllegalArgumentException
PowerModelAbstract
The basic parameter validation is performed by the PowerModelAbstract.getPower(double)
method.
getPowerInternal
in class PowerModelAbstract
utilization
- the utilization percentage (between [0 and 1]) of a
resource that is critical for power supply.IllegalArgumentException
- when the utilization percentage is not
between [0 and 1]protected abstract double getPowerData(int index)
index
- the utilization percentage in the scale from [0 to 10],
where 10 means 100% of utilization.Copyright © 2015–2019 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.