perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
63 lines (53 loc) • 2.51 kB
text/typescript
//
// Copyright (C) 2021 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/metrics/chrome/frame_times.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import { file_protos_perfetto_metrics_custom_options } from "../custom_options_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/metrics/chrome/frame_times.proto.
*/
export const file_protos_perfetto_metrics_chrome_frame_times: GenFile = /*@__PURE__*/
fileDesc("CjBwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9jaHJvbWUvZnJhbWVfdGltZXMucHJvdG8SD3BlcmZldHRvLnByb3RvcyLYAQoKRnJhbWVUaW1lcxIqCgpmcmFtZV90aW1lGAEgAygBQhaKtRgSbXNfc21hbGxlcklzQmV0dGVyEi4KDmV4cF9mcmFtZV90aW1lGAIgAygBQhaKtRgSbXNfc21hbGxlcklzQmV0dGVyEjQKD2F2Z19zdXJmYWNlX2ZwcxgDIAEoAUIbirUYF3VuaXRsZXNzX2JpZ2dlcklzQmV0dGVyEjgKE2V4cF9hdmdfc3VyZmFjZV9mcHMYBCABKAFCG4q1GBd1bml0bGVzc19iaWdnZXJJc0JldHRlcg", [file_protos_perfetto_metrics_custom_options]);
/**
* @generated from message perfetto.protos.FrameTimes
*/
export type FrameTimes = Message<"perfetto.protos.FrameTimes"> & {
/**
* @generated from field: repeated double frame_time = 1;
*/
frameTime: number[];
/**
* @generated from field: repeated double exp_frame_time = 2;
*/
expFrameTime: number[];
/**
* @generated from field: optional double avg_surface_fps = 3;
*/
avgSurfaceFps: number;
/**
* @generated from field: optional double exp_avg_surface_fps = 4;
*/
expAvgSurfaceFps: number;
};
/**
* Describes the message perfetto.protos.FrameTimes.
* Use `create(FrameTimesSchema)` to create a new message.
*/
export const FrameTimesSchema: GenMessage<FrameTimes> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_chrome_frame_times, 0);