diff options
| author | Dante Niewenhuis <d.niewenhuis@hotmail.com> | 2024-11-29 13:54:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-29 13:54:31 +0100 |
| commit | a49a3878758438fe8d04bf4c4d3e3ffc5873aace (patch) | |
| tree | d89f2fcc058a9b23b798c29402f8b8fd69beca41 /opendc-compute/opendc-compute-simulator/src/main/java | |
| parent | 124b40ce36fa03c5275e12ff5a020fc40fe5fd5a (diff) | |
Multiplexer update (#278)
* Fixed the Multiplexer.java to properly divide the supply over the different consumers.
Fixed a bug where fragments were being loaded in reversed order.
* Optimized the Multiplexer.java, by only updating the supply of the consumer that updated its demand when possible.
Diffstat (limited to 'opendc-compute/opendc-compute-simulator/src/main/java')
| -rw-r--r-- | opendc-compute/opendc-compute-simulator/src/main/java/org/opendc/compute/simulator/telemetry/GuestCpuStats.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-compute/opendc-compute-simulator/src/main/java/org/opendc/compute/simulator/telemetry/GuestCpuStats.java b/opendc-compute/opendc-compute-simulator/src/main/java/org/opendc/compute/simulator/telemetry/GuestCpuStats.java index 97202104..61c4145c 100644 --- a/opendc-compute/opendc-compute-simulator/src/main/java/org/opendc/compute/simulator/telemetry/GuestCpuStats.java +++ b/opendc-compute/opendc-compute-simulator/src/main/java/org/opendc/compute/simulator/telemetry/GuestCpuStats.java @@ -40,4 +40,5 @@ public record GuestCpuStats( long lostTime, double capacity, double usage, + double demand, double utilization) {} |
