1/* 2 * Copyright (C) 2021 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http_//www.apache.org/licenses/LICENSE_2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17syntax = "proto2"; 18 19package perfetto.protos; 20 21import "protos/perfetto/metrics/custom_options.proto"; 22 23message BlinkGcMetric { 24 repeated double blink_gc_atomic_pause_mark_epilogue = 1 25 [(unit) = "ms_smallerIsBetter"]; 26 repeated double blink_gc_main_thread_cycle_full_atomic_mark_epilogue = 2 27 [(unit) = "ms_smallerIsBetter"]; 28 repeated double blink_gc_atomic_pause_mark_prologue = 3 29 [(unit) = "ms_smallerIsBetter"]; 30 repeated double blink_gc_main_thread_cycle_full_atomic_mark_prologue = 4 31 [(unit) = "ms_smallerIsBetter"]; 32 repeated double blink_gc_atomic_pause_mark_roots = 5 33 [(unit) = "ms_smallerIsBetter"]; 34 repeated double blink_gc_main_thread_cycle_full_atomic_mark_roots = 6 35 [(unit) = "ms_smallerIsBetter"]; 36 repeated double blink_gc_atomic_pause_sweep_and_compact = 7 37 [(unit) = "ms_smallerIsBetter"]; 38 repeated double blink_gc_main_thread_cycle_full_atomic_sweep_compact = 8 39 [(unit) = "ms_smallerIsBetter"]; 40 repeated double blink_gc_complete_sweep = 9 [(unit) = "ms_smallerIsBetter"]; 41 repeated double blink_gc_main_thread_cycle_full_sweep_complete = 10 42 [(unit) = "ms_smallerIsBetter"]; 43 repeated double blink_gc_incremental_start = 11 44 [(unit) = "ms_smallerIsBetter"]; 45 repeated double blink_gc_main_thread_cycle_full_incremental_mark_start = 12 46 [(unit) = "ms_smallerIsBetter"]; 47 repeated double blink_gc_incremental_step = 13 48 [(unit) = "ms_smallerIsBetter"]; 49 repeated double blink_gc_main_thread_cycle_full_incremental_mark_step = 14 50 [(unit) = "ms_smallerIsBetter"]; 51 repeated double blink_gc_sweep_allocation = 15 52 [(unit) = "ms_smallerIsBetter"]; 53 repeated double blink_gc_main_thread_cycle_full_sweep_on_allocation = 16 54 [(unit) = "ms_smallerIsBetter"]; 55 repeated double blink_gc_sweep_task_foreground = 17 56 [(unit) = "ms_smallerIsBetter"]; 57 repeated double blink_gc_main_thread_cycle_full_sweep_idle = 18 58 [(unit) = "ms_smallerIsBetter"]; 59 repeated double blink_gc_unified_marking_by_v8 = 19 60 [(unit) = "ms_smallerIsBetter"]; 61 repeated double unified_gc_main_thread_cycle_full_mark_step = 20 62 [(unit) = "ms_smallerIsBetter"]; 63 repeated double blink_gc_atomic_pause = 21 [(unit) = "ms_smallerIsBetter"]; 64 repeated double blink_gc_main_thread_cycle_full_atomic = 22 65 [(unit) = "ms_smallerIsBetter"]; 66 repeated double blink_gc_atomic_pause_mark_transitive_closure = 23 67 [(unit) = "ms_smallerIsBetter"]; 68 repeated double 69 blink_gc_main_thread_cycle_full_atomic_mark_transitive_closure = 24 70 [(unit) = "ms_smallerIsBetter"]; 71 repeated double blink_gc_total = 25 [(unit) = "ms_smallerIsBetter"]; 72 repeated double blink_gc_main_thread_cycle_full = 26 73 [(unit) = "ms_smallerIsBetter"]; 74 repeated double blink_gc_mark_roots = 27 [(unit) = "ms_smallerIsBetter"]; 75 repeated double blink_gc_main_thread_cycle_full_mark_roots = 28 76 [(unit) = "ms_smallerIsBetter"]; 77 repeated double blink_gc_mark_transitive_closure = 29 78 [(unit) = "ms_smallerIsBetter"]; 79 repeated double blink_gc_main_thread_cycle_full_mark_transitive_closure = 30 80 [(unit) = "ms_smallerIsBetter"]; 81 repeated double blink_gc_mark_foreground = 31 [(unit) = "ms_smallerIsBetter"]; 82 repeated double blink_gc_main_thread_cycle_full_mark = 32 83 [(unit) = "ms_smallerIsBetter"]; 84 repeated double blink_gc_mark_foreground_forced = 33 85 [(unit) = "ms_smallerIsBetter"]; 86 repeated double blink_gc_main_thread_cycle_full_mark_forced = 34 87 [(unit) = "ms_smallerIsBetter"]; 88 repeated double blink_gc_mark_background = 35 [(unit) = "ms_smallerIsBetter"]; 89 repeated double blink_gc_concurrent_thread_cycle_full_mark = 36 90 [(unit) = "ms_smallerIsBetter"]; 91 repeated double blink_gc_sweep_foreground = 37 92 [(unit) = "ms_smallerIsBetter"]; 93 repeated double blink_gc_main_thread_cycle_full_sweep = 38 94 [(unit) = "ms_smallerIsBetter"]; 95 repeated double blink_gc_sweep_background = 39 96 [(unit) = "ms_smallerIsBetter"]; 97 repeated double blink_gc_concurrent_thread_cycle_full_sweep = 40 98 [(unit) = "ms_smallerIsBetter"]; 99 repeated double unified_gc_total = 41 [(unit) = "ms_smallerIsBetter"]; 100} 101