• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2014 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5export const MAX_RANK_SENTINEL = 0;
6export const GRAPH_MARGIN = 250;
7export const SOURCE_PANE_ID = 'left';
8export const SOURCE_COLLAPSE_ID = 'source-shrink';
9export const SOURCE_EXPAND_ID = 'source-expand';
10export const INTERMEDIATE_PANE_ID = 'middle';
11export const GRAPH_PANE_ID = 'graph';
12export const SCHEDULE_PANE_ID = 'schedule';
13export const GENERATED_PANE_ID = 'right';
14export const DISASSEMBLY_PANE_ID = 'disassembly';
15export const DISASSEMBLY_COLLAPSE_ID = 'disassembly-shrink';
16export const DISASSEMBLY_EXPAND_ID = 'disassembly-expand';
17export const RANGES_PANE_ID = "ranges";
18export const RANGES_COLLAPSE_ID = "ranges-shrink";
19export const RANGES_EXPAND_ID = "ranges-expand";
20export const UNICODE_BLOCK = '▋';
21export const PROF_COLS = [
22  { perc: 0, col: { r: 255, g: 255, b: 255 } },
23  { perc: 0.5, col: { r: 255, g: 255, b: 128 } },
24  { perc: 5, col: { r: 255, g: 128, b: 0 } },
25  { perc: 15, col: { r: 255, g: 0, b: 0 } },
26  { perc: 100, col: { r: 0, g: 0, b: 0 } }
27];
28