1 2/* 3 * Copyright (C) 2024 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18syntax = "proto2"; 19 20package perfetto.protos; 21 22message HistogramSummary { 23 // The name of the histogram event 24 optional string name = 1; 25 // The avarage value of the histogram event 26 optional int64 mean = 2; 27 // The number of the histogram event in the trace track 28 optional uint32 count = 3; 29 // The sum of value of the histogram event 30 optional int64 sum = 4; 31 // The maximum value of the histogram event 32 optional int64 max = 5; 33 // The 90 percentile value of the histogram event 34 optional int64 p90 = 6; 35 // The 50 percentile (median) value of the histogram event 36 optional int64 p50 = 7; 37} 38 39// The list of the summary of Chrome Histograms in trace track events. 40// This includes the statistic information of each histograms from Chrome. 41message ChromeHistogramSummaries { 42 repeated HistogramSummary histogram_summary = 1; 43} 44