UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

82 lines (69 loc) 3.29 kB
// // 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/touch_jank.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/touch_jank.proto. */ export const file_protos_perfetto_metrics_chrome_touch_jank: GenFile = /*@__PURE__*/ fileDesc("Ci9wcm90b3MvcGVyZmV0dG8vbWV0cmljcy9jaHJvbWUvdG91Y2hfamFuay5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIokDCglUb3VjaEphbmsSNQoVdG91Y2hfamFua19wZXJjZW50YWdlGAEgASgBQhaKtRgSbiVfc21hbGxlcklzQmV0dGVyEicKCHRvdWNoX21zGAIgASgBQhWKtRgRbXNfYmlnZ2VySXNCZXR0ZXISMgoTdG91Y2hfcHJvY2Vzc2luZ19tcxgDIAEoAUIVirUYEW1zX2JpZ2dlcklzQmV0dGVyEjgKGHRvdWNoX2phbmtfcHJvY2Vzc2luZ19tcxgEIAEoAUIWirUYEm1zX3NtYWxsZXJJc0JldHRlchI4ChZudW1fdG91Y2hfdXBkYXRlX2NvdW50GAUgASgDQhiKtRgUY291bnRfYmlnZ2VySXNCZXR0ZXISPgobbnVtX3RvdWNoX3VwZGF0ZV9qYW5rX2NvdW50GAYgASgDQhmKtRgVY291bnRfc21hbGxlcklzQmV0dGVyEjQKFHRvdWNoX2phbmtfYnVkZ2V0X21zGAcgASgBQhaKtRgSbXNfc21hbGxlcklzQmV0dGVy", [file_protos_perfetto_metrics_custom_options]); /** * @generated from message perfetto.protos.TouchJank */ export type TouchJank = Message<"perfetto.protos.TouchJank"> & { /** * The percentage of time we consider janky of the total time spent performing * touch gestures during the trace. I.E. approximately equal to * |touch_jank_ms|/|touch_ms|. * * @generated from field: optional double touch_jank_percentage = 1; */ touchJankPercentage: number; /** * @generated from field: optional double touch_ms = 2; */ touchMs: number; /** * @generated from field: optional double touch_processing_ms = 3; */ touchProcessingMs: number; /** * @generated from field: optional double touch_jank_processing_ms = 4; */ touchJankProcessingMs: number; /** * @generated from field: optional int64 num_touch_update_count = 5; */ numTouchUpdateCount: bigint; /** * @generated from field: optional int64 num_touch_update_jank_count = 6; */ numTouchUpdateJankCount: bigint; /** * @generated from field: optional double touch_jank_budget_ms = 7; */ touchJankBudgetMs: number; }; /** * Describes the message perfetto.protos.TouchJank. * Use `create(TouchJankSchema)` to create a new message. */ export const TouchJankSchema: GenMessage<TouchJank> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_chrome_touch_jank, 0);