blob: 308ef703bddb1169cb4e9cab77744f4df51d05fd [file] [log] [blame]
Yi Jin9680cfa2017-09-15 15:14:43 -07001/*
2 * Copyright (C) 2017 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
Yi Jinc7f93072017-09-29 15:29:38 -070017syntax = "proto2";
Yi Jin9680cfa2017-09-15 15:14:43 -070018package android.util;
19
20option java_multiple_files = true;
21
22/**
23 * Very basic data structure used by aggregated stats.
24 */
25message AggStats {
26
Yi Jinc7f93072017-09-29 15:29:38 -070027 optional int64 min = 1;
Yi Jin9680cfa2017-09-15 15:14:43 -070028
Yi Jinc7f93072017-09-29 15:29:38 -070029 optional int64 average = 2;
Yi Jin9680cfa2017-09-15 15:14:43 -070030
Yi Jinc7f93072017-09-29 15:29:38 -070031 optional int64 max = 3;
Yi Jin9680cfa2017-09-15 15:14:43 -070032}
Yi Jin6b514142017-10-30 14:54:12 -070033
34/**
35 * Very basic data structure to represent Duration.
36 */
37message Duration {
38
39 optional int64 start_ms = 1;
40
41 optional int64 end_ms = 2;
42}