diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-04-09 17:22:54 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-04-09 17:22:54 +0200 |
| commit | a235ddbfd3c5fb6086cc5b9f637c840e40b46147 (patch) | |
| tree | e4146076161a6791757b5950c8b2de4bcdc8a840 | |
| parent | 7a11aff2ff46b0fb3bf01f537946d5fcd66a1e90 (diff) | |
style: Fix typo in interferedBurst
3 files changed, 6 insertions, 6 deletions
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<Server, Pair<ServerState, Long>>() 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<String>) { event.requestedBurst, event.grantedBurst, event.overcommissionedBurst, - event.interferredBurst, + event.interferedBurst, event.numberOfDeployedImages, event.hostServer ) |
