summaryrefslogtreecommitdiff
path: root/opendc-web
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-06-15 22:01:34 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-06-15 22:23:59 +0200
commit282f199e6f16350123a915b06faff62ca82be91b (patch)
treeb2b698d85f7397ef67485d52128a9390f40f7252 /opendc-web
parentf51bf570f143faf69e3ae361cceac5f0c2420d88 (diff)
fix(sim/compute): Always recompute power usage
This change fixes an issue in the `SimBareMetalMachine` implementation where the power usage was only updated after a non-zero duration. However, this would mean that OpenDC would possibly report incorrect power usage values when multiple convergence calls occured at the same timestamp.
Diffstat (limited to 'opendc-web')
0 files changed, 0 insertions, 0 deletions