diff options
Diffstat (limited to 'opendc-compute/opendc-compute-simulator/src/main')
| -rw-r--r-- | opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimHost.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimHost.kt b/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimHost.kt index d36717af..540e27fe 100644 --- a/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimHost.kt +++ b/opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimHost.kt @@ -129,7 +129,7 @@ public class SimHost( _batch.put(_cpuWorkInterference, interferedWork.toDouble()) _batch.put(_cpuUsage, cpuUsage) _batch.put(_cpuDemand, cpuDemand) - _batch.put(_cpuPower, machine.powerDraw) + _batch.put(_cpuPower, machine.psu.powerDraw) _batch.record() } } |
