diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-21 23:07:38 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:06 +0200 |
| commit | 10665e285b4b6f78b977b8f8fc0549a2bbab84cb (patch) | |
| tree | d7abe73f01c02542551efe428d1ee770cb61d970 /src/util | |
| parent | a5bc25e5af79cf0bc7e0034b0a7c04d368a841bd (diff) | |
Add load color legend
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/simulation-load.js | 6 |
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; |
