1/*
2 * Copyright (C) 2019 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";
18package perfetto.protos;
19
20// This message is not intended to be written by the chrome on the device.
21// It's emitted on the host by the telemetry benchmark infrastructure (it's a
22// part of the trace that's written by the telemetry tracing agent).
23message ChromeBenchmarkMetadata {
24  // Time when the benchmark execution started (host unixtime in microseconds).
25  optional int64 benchmark_start_time_us = 1;
26
27  // Time when this particular story was run (host unixtime in microseconds).
28  optional int64 story_run_time_us = 2;
29
30  // Name of benchmark.
31  optional string benchmark_name = 3;
32
33  // Description of benchmark.
34  optional string benchmark_description = 4;
35
36  // Optional label.
37  optional string label = 5;
38
39  // Name of story.
40  optional string story_name = 6;
41
42  // List of story tags.
43  repeated string story_tags = 7;
44
45  // Index of the story run (>0 if the same story was run several times).
46  optional int32 story_run_index = 8;
47
48  // Whether this run failed.
49  optional bool had_failures = 9;
50}
51