From 10665e285b4b6f78b977b8f8fc0549a2bbab84cb Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 21 Sep 2017 23:07:38 +0200 Subject: Add load color legend --- src/util/simulation-load.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/util/simulation-load.js') 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; -- cgit v1.2.3