11cb0ef41Sopenharmony_ci# Copyright 2019 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_ciimport re 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ciRUNTIME_CALL_STATS_GROUPS = [ 81cb0ef41Sopenharmony_ci ('Group-IC', re.compile(".*IC_.*")), 91cb0ef41Sopenharmony_ci ('Group-OptimizeBackground', re.compile(".*OptimizeBackground.*")), 101cb0ef41Sopenharmony_ci ('Group-Optimize', 111cb0ef41Sopenharmony_ci re.compile("StackGuard|.*Optimize.*|.*Deoptimize.*|Recompile.*")), 121cb0ef41Sopenharmony_ci ('Group-CompileBackground', re.compile("(.*CompileBackground.*)")), 131cb0ef41Sopenharmony_ci ('Group-Compile', re.compile("(^Compile.*)|(.*_Compile.*)")), 141cb0ef41Sopenharmony_ci ('Group-ParseBackground', re.compile(".*ParseBackground.*")), 151cb0ef41Sopenharmony_ci ('Group-Parse', re.compile(".*Parse.*")), 161cb0ef41Sopenharmony_ci ('Group-Callback', re.compile(".*Callback.*")), 171cb0ef41Sopenharmony_ci ('Group-API', re.compile(".*API.*")), 181cb0ef41Sopenharmony_ci ('Group-GC-Custom', re.compile("GC_Custom_.*")), 191cb0ef41Sopenharmony_ci ('Group-GC-Background', re.compile(".*GC.*BACKGROUND.*")), 201cb0ef41Sopenharmony_ci ('Group-GC', re.compile("GC_.*|AllocateInTargetSpace")), 211cb0ef41Sopenharmony_ci ('Group-JavaScript', re.compile("JS_Execution")), 221cb0ef41Sopenharmony_ci ('Group-WebSnapshot', re.compile("WebSnapshot.*")), 231cb0ef41Sopenharmony_ci ('Group-Runtime', re.compile(".*"))] 24