summaryrefslogtreecommitdiff
path: root/src/util/simulation-load.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/simulation-load.js')
-rw-r--r--src/util/simulation-load.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/simulation-load.js b/src/util/simulation-load.js
index 224dc6f4..55c37929 100644
--- a/src/util/simulation-load.js
+++ b/src/util/simulation-load.js
@@ -1,5 +1,11 @@
import {SIM_HIGH_COLOR, SIM_LOW_COLOR, SIM_MID_HIGH_COLOR, SIM_MID_LOW_COLOR} from "../colors/index";
+export const LOAD_NAME_MAP = {
+ LOAD: "computational load",
+ TEMPERATURE: "temperature",
+ MEMORY: "memory use",
+};
+
export function convertLoadToSimulationColor(load) {
if (load <= 0.25) {
return SIM_LOW_COLOR;