summaryrefslogtreecommitdiff
path: root/src/util/simulation-load.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-28 22:48:38 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-28 22:48:38 +0200
commitbcf119f2c4ac587cc8263db8a9fc0581521fdec7 (patch)
treec7c78a13d575b8345d729bb5aa44022d7f0715d4 /src/util/simulation-load.js
parentf29305d4c966af83a0a842f78dcb7adb7128b37c (diff)
Implement batch state adding
Also fixes the 'hidden states' bug.
Diffstat (limited to 'src/util/simulation-load.js')
-rw-r--r--src/util/simulation-load.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/simulation-load.js b/src/util/simulation-load.js
index c81bb406..4b6233be 100644
--- a/src/util/simulation-load.js
+++ b/src/util/simulation-load.js
@@ -27,6 +27,6 @@ export function getStateLoad(loadMetric, state) {
case "MEMORY":
return state.inUseMemoryMb / 10000.0;
default:
- return 0;
+ return -1;
}
}