UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

81 lines (68 loc) 3.31 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/scroll_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/scroll_jank.proto. */ export const file_protos_perfetto_metrics_chrome_scroll_jank: GenFile = /*@__PURE__*/ fileDesc("CjBwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9jaHJvbWUvc2Nyb2xsX2phbmsucHJvdG8SD3BlcmZldHRvLnByb3RvcyKRAwoKU2Nyb2xsSmFuaxI2ChZzY3JvbGxfamFua19wZXJjZW50YWdlGAEgASgBQhaKtRgSbiVfc21hbGxlcklzQmV0dGVyEigKCXNjcm9sbF9tcxgCIAEoAUIVirUYEW1zX2JpZ2dlcklzQmV0dGVyEjMKFHNjcm9sbF9wcm9jZXNzaW5nX21zGAMgASgBQhWKtRgRbXNfYmlnZ2VySXNCZXR0ZXISOQoZc2Nyb2xsX2phbmtfcHJvY2Vzc2luZ19tcxgEIAEoAUIWirUYEm1zX3NtYWxsZXJJc0JldHRlchI5ChdudW1fc2Nyb2xsX3VwZGF0ZV9jb3VudBgFIAEoA0IYirUYFGNvdW50X2JpZ2dlcklzQmV0dGVyEj8KHG51bV9zY3JvbGxfdXBkYXRlX2phbmtfY291bnQYBiABKANCGYq1GBVjb3VudF9zbWFsbGVySXNCZXR0ZXISNQoVc2Nyb2xsX2phbmtfYnVkZ2V0X21zGAcgASgBQhaKtRgSbXNfc21hbGxlcklzQmV0dGVy", [file_protos_perfetto_metrics_custom_options]); /** * @generated from message perfetto.protos.ScrollJank */ export type ScrollJank = Message<"perfetto.protos.ScrollJank"> & { /** * The percentage of time we consider janky of the total time spent scrolling * during the trace. I.E. approximately equal to |scroll_jank_ms|/|scroll_ms|. * * @generated from field: optional double scroll_jank_percentage = 1; */ scrollJankPercentage: number; /** * @generated from field: optional double scroll_ms = 2; */ scrollMs: number; /** * @generated from field: optional double scroll_processing_ms = 3; */ scrollProcessingMs: number; /** * @generated from field: optional double scroll_jank_processing_ms = 4; */ scrollJankProcessingMs: number; /** * @generated from field: optional int64 num_scroll_update_count = 5; */ numScrollUpdateCount: bigint; /** * @generated from field: optional int64 num_scroll_update_jank_count = 6; */ numScrollUpdateJankCount: bigint; /** * @generated from field: optional double scroll_jank_budget_ms = 7; */ scrollJankBudgetMs: number; }; /** * Describes the message perfetto.protos.ScrollJank. * Use `create(ScrollJankSchema)` to create a new message. */ export const ScrollJankSchema: GenMessage<ScrollJank> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_chrome_scroll_jank, 0);