diff options
| author | Dante Niewenhuis <d.niewenhuis@hotmail.com> | 2025-11-13 19:44:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-13 19:44:43 +0100 |
| commit | 90d4369183a420689fb1d48687a77ec677572433 (patch) | |
| tree | 6b5bf9dbc1c55700620073a099ed22690e799526 /opendc-experiments/opendc-experiments-base | |
| parent | 71f63618fb83c8e19ae48d5dc4a6e3927031cc10 (diff) | |
Updated the checkpointModel and OnUpdate of SimTraceWorkload (#380)
Diffstat (limited to 'opendc-experiments/opendc-experiments-base')
2 files changed, 1 insertions, 2 deletions
diff --git a/opendc-experiments/opendc-experiments-base/src/main/kotlin/org/opendc/experiments/base/runner/ScenarioRunner.kt b/opendc-experiments/opendc-experiments-base/src/main/kotlin/org/opendc/experiments/base/runner/ScenarioRunner.kt index a29a1dd5..b07a50ae 100644 --- a/opendc-experiments/opendc-experiments-base/src/main/kotlin/org/opendc/experiments/base/runner/ScenarioRunner.kt +++ b/opendc-experiments/opendc-experiments-base/src/main/kotlin/org/opendc/experiments/base/runner/ScenarioRunner.kt @@ -180,7 +180,7 @@ public fun runScenario( } /** - * Saves the simulation results into a specific output folder received from the input. + * Saves the simulation results into a specific output folder received from the input.A * * @param provisioner The provisioner used to setup and run the simulation. * @param serviceDomain The domain of the compute service. diff --git a/opendc-experiments/opendc-experiments-base/src/test/kotlin/org/opendc/experiments/base/FailuresAndCheckpointingTest.kt b/opendc-experiments/opendc-experiments-base/src/test/kotlin/org/opendc/experiments/base/FailuresAndCheckpointingTest.kt index 1d0acbfe..c49d4efd 100644 --- a/opendc-experiments/opendc-experiments-base/src/test/kotlin/org/opendc/experiments/base/FailuresAndCheckpointingTest.kt +++ b/opendc-experiments/opendc-experiments-base/src/test/kotlin/org/opendc/experiments/base/FailuresAndCheckpointingTest.kt @@ -270,7 +270,6 @@ class FailuresAndCheckpointingTest { monitor.maxTimestamp, ) { "Total runtime incorrect" } }, - // TODO: The energy draw of last item (56 * 150.0) is wrong. Figure out why? { assertEquals( (10 * 60 * 150.0) + (5 * 60 * 100.0) + (9 * 150.0) + (56 * 150.0), |
