diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-05-20 11:29:46 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-05-20 11:29:46 +0200 |
| commit | d71c51a9850a0ce0146927d4f8b2bdd7996637e4 (patch) | |
| tree | 589c4f86a24bf5610511cdef6a7c2ec5a91410fa | |
| parent | 075f597f03dd8a066310e4c21875e394618baa0b (diff) | |
refactor: Remove unnecessary changes
2 files changed, 2 insertions, 2 deletions
diff --git a/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/metal/driver/BareMetalDriver.kt b/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/metal/driver/BareMetalDriver.kt index a84fb905..41cec291 100644 --- a/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/metal/driver/BareMetalDriver.kt +++ b/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/metal/driver/BareMetalDriver.kt @@ -43,7 +43,8 @@ public interface BareMetalDriver : Powerable, FailureDomain { public val node: Flow<Node> /** - * The amount of work done by the machine in MHz. + * The amount of work done by the machine in percentage with respect to the total amount of processing power + * available. */ public val usage: Flow<Double> diff --git a/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/SimpleVirtDriver.kt b/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/SimpleVirtDriver.kt index cf9e2085..3c41f52e 100644 --- a/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/SimpleVirtDriver.kt +++ b/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/SimpleVirtDriver.kt @@ -546,7 +546,6 @@ class SimpleVirtDriver( server.image(this@VmServerContext) exit() } catch (cause: Throwable) { - cause.printStackTrace() exit(cause) } } |
