From 2325c62377e7c94e768a22807e107a9714626bfc Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Tue, 29 Oct 2024 10:52:38 +0100 Subject: Updated all floats to Doubles (#257) * Updated tests Changed all floats into doubles to have consistency over the whole framework Made a small update to the multiplexer to better push through supply and demand Fixed small typo Updated M3SA paths. fixed merge conflicts Removed unused components. Updated tests. Improved checkpointing model Improved model, started with SimPowerSource implemented FailureModels and Checkpointing First working version midway commit first update All simulation are now run with a single CPU and single MemoryUnit. multi CPUs are combined into one. This is for performance and explainability. * Updated test memory --- .../src/main/kotlin/org/opendc/web/runner/OpenDCRunner.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc-web') 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 2dd0c20f..70152b2c 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 @@ -326,7 +326,7 @@ public class OpenDCRunner( CpuModel( 0, cpu.numberOfCores, - cpu.clockRateMhz.toFloat(), + cpu.clockRateMhz, "Intel", "amd64", cpu.name, -- cgit v1.2.3