public abstract class
An abstract implementation of a
getEnergyLinearInterpolation(double fromUtilization, double toUtilization, double time)¶
protected abstract double
An internal method to be implemented by sub classes to get the power consumption for the current CPU utilization.
The basic parameter validation is performed by the
- utilization – the utilization percentage (between [0 and 1]) of a resource that is critical for power consumption.
- IllegalArgumentException – when the utilization percentage is not between [0 and 1]
the power consumption