public abstract class PowerModelSpecPower extends Object implements PowerModel
| Constructor and Description |
|---|
PowerModelSpecPower() |
| Modifier and Type | Method and Description |
|---|---|
double |
getPower(double utilization)
Get power consumption by the utilization percentage according to the power model.
|
protected abstract double |
getPowerData(int index)
Gets the power data.
|
public double getPower(double utilization)
throws IllegalArgumentException
PowerModelgetPower in interface PowerModelutilization - the utilizationIllegalArgumentException - the illegal argument exceptionprotected abstract double getPowerData(int index)
index - the indexCopyright © 2012 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.