UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

89 lines (76 loc) 3.25 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/metrics/android/ion_metric.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/metrics/android/ion_metric.proto. */ export const file_protos_perfetto_metrics_android_ion_metric: GenFile = /*@__PURE__*/ fileDesc("CjBwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL2lvbl9tZXRyaWMucHJvdG8SD3BlcmZldHRvLnByb3RvcyLMAQoQQW5kcm9pZElvbk1ldHJpYxI4CgZidWZmZXIYASADKAsyKC5wZXJmZXR0by5wcm90b3MuQW5kcm9pZElvbk1ldHJpYy5CdWZmZXIafgoGQnVmZmVyEgwKBG5hbWUYASABKAkSFgoOYXZnX3NpemVfYnl0ZXMYAiABKAESFgoObWluX3NpemVfYnl0ZXMYAyABKAESFgoObWF4X3NpemVfYnl0ZXMYBCABKAESHgoWdG90YWxfYWxsb2Nfc2l6ZV9ieXRlcxgFIAEoAQ"); /** * ion memory stats on Android. * * @generated from message perfetto.protos.AndroidIonMetric */ export type AndroidIonMetric = Message<"perfetto.protos.AndroidIonMetric"> & { /** * @generated from field: repeated perfetto.protos.AndroidIonMetric.Buffer buffer = 1; */ buffer: AndroidIonMetric_Buffer[]; }; /** * Describes the message perfetto.protos.AndroidIonMetric. * Use `create(AndroidIonMetricSchema)` to create a new message. */ export const AndroidIonMetricSchema: GenMessage<AndroidIonMetric> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_android_ion_metric, 0); /** * @generated from message perfetto.protos.AndroidIonMetric.Buffer */ export type AndroidIonMetric_Buffer = Message<"perfetto.protos.AndroidIonMetric.Buffer"> & { /** * @generated from field: optional string name = 1; */ name: string; /** * @generated from field: optional double avg_size_bytes = 2; */ avgSizeBytes: number; /** * @generated from field: optional double min_size_bytes = 3; */ minSizeBytes: number; /** * @generated from field: optional double max_size_bytes = 4; */ maxSizeBytes: number; /** * Total allocation size. * Essentially the sum of positive allocs (-> new buffers). * * @generated from field: optional double total_alloc_size_bytes = 5; */ totalAllocSizeBytes: number; }; /** * Describes the message perfetto.protos.AndroidIonMetric.Buffer. * Use `create(AndroidIonMetric_BufferSchema)` to create a new message. */ export const AndroidIonMetric_BufferSchema: GenMessage<AndroidIonMetric_Buffer> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_android_ion_metric, 0, 0);