Index: tools/turbolizer/constants.js |
diff --git a/tools/turbolizer/constants.js b/tools/turbolizer/constants.js |
index f062fa2154358c454906df02c00aea58c4e9dc1a..da92c45abc9033c85e870ef67a3dcee7592cde5a 100644 |
--- a/tools/turbolizer/constants.js |
+++ b/tools/turbolizer/constants.js |
@@ -20,5 +20,11 @@ var DISASSEMBLY_COLLAPSE_ID = 'disassembly-shrink'; |
var DISASSEMBLY_EXPAND_ID = 'disassembly-expand'; |
var COLLAPSE_PANE_BUTTON_VISIBLE = 'button-input'; |
var COLLAPSE_PANE_BUTTON_INVISIBLE = 'button-input-invisible'; |
-var PROF_HIGH = 5; |
-var PROF_MED = 0.5; |
+var UNICODE_BLOCK = '▋'; |
+var PROF_COLS = [ |
+ { perc: 0, col: { r: 255, g: 255, b: 255 } }, |
+ { perc: 0.5, col: { r: 255, g: 255, b: 128 } }, |
+ { perc: 5, col: { r: 255, g: 128, b: 0 } }, |
+ { perc: 15, col: { r: 255, g: 0, b: 0 } }, |
+ { perc: 100, col: { r: 0, g: 0, b: 0 } } |
+]; |