• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2020 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
21message AndroidSurfaceflingerMetric {
22  // Counts the number of missed frames in the trace.
23  optional uint32 missed_frames = 1;
24
25  // Counts the number of missed HWC frames in the trace.
26  optional uint32 missed_hwc_frames = 2;
27
28  // Counts the number of missed GPU frames in the trace.
29  optional uint32 missed_gpu_frames = 3;
30
31  // Calculate the number of missed frames divided by
32  // total frames
33  optional double missed_frame_rate = 4;
34
35  // Calculate the number of missed HWC frames divided by
36  // total HWC frames
37  optional double missed_hwc_frame_rate = 5;
38
39  // Calculate the number of missed GPU frames divided by
40  // total GPU frames
41  optional double missed_gpu_frame_rate = 6;
42}
43