UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

109 lines (94 loc) 3.72 kB
// // Copyright (C) 2019 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // @generated by protoc-gen-es v2.2.2 with parameter "target=ts" // @generated from file protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto (package perfetto.protos, syntax proto2) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto. */ export const file_protos_perfetto_trace_chrome_chrome_benchmark_metadata: GenFile = /*@__PURE__*/ fileDesc("Cjxwcm90b3MvcGVyZmV0dG8vdHJhY2UvY2hyb21lL2Nocm9tZV9iZW5jaG1hcmtfbWV0YWRhdGEucHJvdG8SD3BlcmZldHRvLnByb3RvcyLyAQoXQ2hyb21lQmVuY2htYXJrTWV0YWRhdGESHwoXYmVuY2htYXJrX3N0YXJ0X3RpbWVfdXMYASABKAMSGQoRc3RvcnlfcnVuX3RpbWVfdXMYAiABKAMSFgoOYmVuY2htYXJrX25hbWUYAyABKAkSHQoVYmVuY2htYXJrX2Rlc2NyaXB0aW9uGAQgASgJEg0KBWxhYmVsGAUgASgJEhIKCnN0b3J5X25hbWUYBiABKAkSEgoKc3RvcnlfdGFncxgHIAMoCRIXCg9zdG9yeV9ydW5faW5kZXgYCCABKAUSFAoMaGFkX2ZhaWx1cmVzGAkgASgI"); /** * This message is not intended to be written by the chrome on the device. * It's emitted on the host by the telemetry benchmark infrastructure (it's a * part of the trace that's written by the telemetry tracing agent). * * @generated from message perfetto.protos.ChromeBenchmarkMetadata */ export type ChromeBenchmarkMetadata = Message<"perfetto.protos.ChromeBenchmarkMetadata"> & { /** * Time when the benchmark execution started (host unixtime in microseconds). * * @generated from field: optional int64 benchmark_start_time_us = 1; */ benchmarkStartTimeUs: bigint; /** * Time when this particular story was run (host unixtime in microseconds). * * @generated from field: optional int64 story_run_time_us = 2; */ storyRunTimeUs: bigint; /** * Name of benchmark. * * @generated from field: optional string benchmark_name = 3; */ benchmarkName: string; /** * Description of benchmark. * * @generated from field: optional string benchmark_description = 4; */ benchmarkDescription: string; /** * Optional label. * * @generated from field: optional string label = 5; */ label: string; /** * Name of story. * * @generated from field: optional string story_name = 6; */ storyName: string; /** * List of story tags. * * @generated from field: repeated string story_tags = 7; */ storyTags: string[]; /** * Index of the story run (>0 if the same story was run several times). * * @generated from field: optional int32 story_run_index = 8; */ storyRunIndex: number; /** * Whether this run failed. * * @generated from field: optional bool had_failures = 9; */ hadFailures: boolean; }; /** * Describes the message perfetto.protos.ChromeBenchmarkMetadata. * Use `create(ChromeBenchmarkMetadataSchema)` to create a new message. */ export const ChromeBenchmarkMetadataSchema: GenMessage<ChromeBenchmarkMetadata> = /*@__PURE__*/ messageDesc(file_protos_perfetto_trace_chrome_chrome_benchmark_metadata, 0);