From a235ddbfd3c5fb6086cc5b9f637c840e40b46147 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 9 Apr 2020 17:22:54 +0200 Subject: style: Fix typo in interferedBurst --- .../main/kotlin/com/atlarge/opendc/compute/virt/HypervisorEvent.kt | 4 ++-- .../main/kotlin/com/atlarge/opendc/experiments/sc20/Sc20Monitor.kt | 6 +++--- .../kotlin/com/atlarge/opendc/experiments/sc20/TestExperiment.kt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'opendc') diff --git a/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/HypervisorEvent.kt b/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/HypervisorEvent.kt index 24b19ada..9ceb8bfc 100644 --- a/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/HypervisorEvent.kt +++ b/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/HypervisorEvent.kt @@ -58,7 +58,7 @@ public sealed class HypervisorEvent { * the hypervisor being interrupted during a slice. * @property overcommissionedBurst The CPU time that the hypervisor could not grant to the virtual machine since * it did not have the capacity. - * @property interferredBurst The sum of CPU time that virtual machines could not utilize due to performance + * @property interferedBurst The sum of CPU time that virtual machines could not utilize due to performance * interference. * @property numberOfDeployedImages The number of images deployed on this hypervisor. */ @@ -67,7 +67,7 @@ public sealed class HypervisorEvent { public val requestedBurst: Long, public val grantedBurst: Long, public val overcommissionedBurst: Long, - public val interferredBurst: Long, + public val interferedBurst: Long, public val numberOfDeployedImages: Int, public val hostServer: Server ) : HypervisorEvent() diff --git a/opendc/opendc-experiments-sc20/src/main/kotlin/com/atlarge/opendc/experiments/sc20/Sc20Monitor.kt b/opendc/opendc-experiments-sc20/src/main/kotlin/com/atlarge/opendc/experiments/sc20/Sc20Monitor.kt index eb6ff8de..a5b13f84 100644 --- a/opendc/opendc-experiments-sc20/src/main/kotlin/com/atlarge/opendc/experiments/sc20/Sc20Monitor.kt +++ b/opendc/opendc-experiments-sc20/src/main/kotlin/com/atlarge/opendc/experiments/sc20/Sc20Monitor.kt @@ -17,7 +17,7 @@ class Sc20Monitor( private val lastServerStates = mutableMapOf>() init { - outputFile.write("time,duration,requestedBurst,grantedBurst,overcommissionedBurst,interferredBurst,numberOfDeployedImages,server,hostState,hostUsage,powerDraw,failedVms\n") + outputFile.write("time,duration,requestedBurst,grantedBurst,overcommissionedBurst,interferedBurst,numberOfDeployedImages,server,hostState,hostUsage,powerDraw,failedVms\n") } suspend fun onVmStateChanged(server: Server) {} @@ -49,7 +49,7 @@ class Sc20Monitor( requestedBurst: Long, grantedBurst: Long, overcommissionedBurst: Long, - interferredBurst: Long, + interferedBurst: Long, numberOfDeployedImages: Int, hostServer: Server, duration: Long = 5 * 60 * 1000L @@ -61,7 +61,7 @@ class Sc20Monitor( val usage = driver.usage.first() val powerDraw = driver.powerDraw.first() - outputFile.write("$time,$duration,$requestedBurst,$grantedBurst,$overcommissionedBurst,$interferredBurst,$numberOfDeployedImages,${hostServer.uid},${hostServer.state},$usage,$powerDraw") + outputFile.write("$time,$duration,$requestedBurst,$grantedBurst,$overcommissionedBurst,$interferedBurst,$numberOfDeployedImages,${hostServer.uid},${hostServer.state},$usage,$powerDraw") outputFile.newLine() } diff --git a/opendc/opendc-experiments-sc20/src/main/kotlin/com/atlarge/opendc/experiments/sc20/TestExperiment.kt b/opendc/opendc-experiments-sc20/src/main/kotlin/com/atlarge/opendc/experiments/sc20/TestExperiment.kt index bd06520a..18cfed5f 100644 --- a/opendc/opendc-experiments-sc20/src/main/kotlin/com/atlarge/opendc/experiments/sc20/TestExperiment.kt +++ b/opendc/opendc-experiments-sc20/src/main/kotlin/com/atlarge/opendc/experiments/sc20/TestExperiment.kt @@ -201,7 +201,7 @@ fun main(args: Array) { event.requestedBurst, event.grantedBurst, event.overcommissionedBurst, - event.interferredBurst, + event.interferedBurst, event.numberOfDeployedImages, event.hostServer ) -- cgit v1.2.3