summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-simulator
diff options
context:
space:
mode:
authorDante Niewenhuis <d.niewenhuis@hotmail.com>2024-02-14 11:52:32 +0100
committerGitHub <noreply@github.com>2024-02-14 11:52:32 +0100
commit10c47102d6133b86e4c39df96fd25a91010a9864 (patch)
treee422986118d2475add6677bc1e7bd8ed1913ceb9 /opendc-compute/opendc-compute-simulator
parent616017ba78a0882fe38b9b171b2b0f68e593cd8d (diff)
Updated metrics and parquet output (#195)
* Updated metrics and parquet output * fixed typos
Diffstat (limited to 'opendc-compute/opendc-compute-simulator')
-rw-r--r--opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimHost.kt2
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 ec71f095..461a33f0 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
@@ -229,7 +229,7 @@ public class SimHost(
Duration.ofMillis(_uptime),
Duration.ofMillis(_downtime),
_bootTime,
- machine.psu.powerUsage,
+ machine.psu.powerDraw,
machine.psu.energyUsage,
terminated,
running,