11cb0ef41Sopenharmony_ci// Copyright 2014 the V8 project authors. All rights reserved.
21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be
31cb0ef41Sopenharmony_ci// found in the LICENSE file.
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ciexport const MAX_RANK_SENTINEL = 0;
61cb0ef41Sopenharmony_ciexport const GRAPH_MARGIN = 250;
71cb0ef41Sopenharmony_ciexport const SOURCE_PANE_ID = 'left';
81cb0ef41Sopenharmony_ciexport const SOURCE_COLLAPSE_ID = 'source-shrink';
91cb0ef41Sopenharmony_ciexport const SOURCE_EXPAND_ID = 'source-expand';
101cb0ef41Sopenharmony_ciexport const INTERMEDIATE_PANE_ID = 'middle';
111cb0ef41Sopenharmony_ciexport const GRAPH_PANE_ID = 'graph';
121cb0ef41Sopenharmony_ciexport const SCHEDULE_PANE_ID = 'schedule';
131cb0ef41Sopenharmony_ciexport const GENERATED_PANE_ID = 'right';
141cb0ef41Sopenharmony_ciexport const DISASSEMBLY_PANE_ID = 'disassembly';
151cb0ef41Sopenharmony_ciexport const DISASSEMBLY_COLLAPSE_ID = 'disassembly-shrink';
161cb0ef41Sopenharmony_ciexport const DISASSEMBLY_EXPAND_ID = 'disassembly-expand';
171cb0ef41Sopenharmony_ciexport const RANGES_PANE_ID = "ranges";
181cb0ef41Sopenharmony_ciexport const RANGES_COLLAPSE_ID = "ranges-shrink";
191cb0ef41Sopenharmony_ciexport const RANGES_EXPAND_ID = "ranges-expand";
201cb0ef41Sopenharmony_ciexport const UNICODE_BLOCK = '▋';
211cb0ef41Sopenharmony_ciexport const PROF_COLS = [
221cb0ef41Sopenharmony_ci  { perc: 0, col: { r: 255, g: 255, b: 255 } },
231cb0ef41Sopenharmony_ci  { perc: 0.5, col: { r: 255, g: 255, b: 128 } },
241cb0ef41Sopenharmony_ci  { perc: 5, col: { r: 255, g: 128, b: 0 } },
251cb0ef41Sopenharmony_ci  { perc: 15, col: { r: 255, g: 0, b: 0 } },
261cb0ef41Sopenharmony_ci  { perc: 100, col: { r: 0, g: 0, b: 0 } }
271cb0ef41Sopenharmony_ci];
28