summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-runner/src
diff options
context:
space:
mode:
authorSacheendra Talluri <sacheendra.t@gmail.com>2025-03-20 10:16:46 +0100
committerGitHub <noreply@github.com>2025-03-20 10:16:46 +0100
commit1e35c61cd31b8bfb33a6ccbb46b08c0466518e6c (patch)
tree261c84148cd045246bdc2ad7aa3c41524356b699 /opendc-web/opendc-web-runner/src
parent6211b887b68b3ebc9245fada1c0f36725955b052 (diff)
Adds load shifting over time (#319)
* Start time shifting * Existing experiments work with new columns * Remove unused traces dir * Update java to 21 LTS and jacoco to be compatible * Minimal working timeshifting * Timeshift scheduler linked as carbon receiver * Add basic tests for timeshift scheduler * Run spotless apply * Modify tarce format tests to support new fields * Change all mentions of java 19 to 21 * Add a deferAll option to workload to make all tasks deferrable * Run spotless apply * Copy traces from resources in web dockerfile
Diffstat (limited to 'opendc-web/opendc-web-runner/src')
-rw-r--r--opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/OpenDCRunner.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/OpenDCRunner.kt b/opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/OpenDCRunner.kt
index 7c5c6290..9a1b398e 100644
--- a/opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/OpenDCRunner.kt
+++ b/opendc-web/opendc-web-runner/src/main/kotlin/org/opendc/web/runner/OpenDCRunner.kt
@@ -279,10 +279,10 @@ public class OpenDCRunner(
provisioner.runSteps(
setupComputeService(
serviceDomain,
- { createComputeScheduler(scenario.schedulerName, Random(it.seeder.nextLong())) },
+ { createComputeScheduler(scenario.schedulerName, Random(it.seeder.nextLong()), timeSource) },
),
registerComputeMonitor(serviceDomain, monitor),
- setupHosts(serviceDomain, topology, startTime),
+ setupHosts(serviceDomain, topology, listOf(), startTime),
)
val service = provisioner.registry.resolve(serviceDomain, ComputeService::class.java)!!