perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
89 lines (76 loc) • 3.38 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/android/fastrpc_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/fastrpc_metric.proto.
*/
export const file_protos_perfetto_metrics_android_fastrpc_metric: GenFile = /*@__PURE__*/
fileDesc("CjRwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL2Zhc3RycGNfbWV0cmljLnByb3RvEg9wZXJmZXR0by5wcm90b3Mi3gEKFEFuZHJvaWRGYXN0cnBjTWV0cmljEkIKCXN1YnN5c3RlbRgBIAMoCzIvLnBlcmZldHRvLnByb3Rvcy5BbmRyb2lkRmFzdHJwY01ldHJpYy5TdWJzeXN0ZW0agQEKCVN1YnN5c3RlbRIMCgRuYW1lGAEgASgJEhYKDmF2Z19zaXplX2J5dGVzGAIgASgBEhYKDm1pbl9zaXplX2J5dGVzGAMgASgBEhYKDm1heF9zaXplX2J5dGVzGAQgASgBEh4KFnRvdGFsX2FsbG9jX3NpemVfYnl0ZXMYBSABKAE");
/**
* fastrpc memory stats on Android.
*
* @generated from message perfetto.protos.AndroidFastrpcMetric
*/
export type AndroidFastrpcMetric = Message<"perfetto.protos.AndroidFastrpcMetric"> & {
/**
* @generated from field: repeated perfetto.protos.AndroidFastrpcMetric.Subsystem subsystem = 1;
*/
subsystem: AndroidFastrpcMetric_Subsystem[];
};
/**
* Describes the message perfetto.protos.AndroidFastrpcMetric.
* Use `create(AndroidFastrpcMetricSchema)` to create a new message.
*/
export const AndroidFastrpcMetricSchema: GenMessage<AndroidFastrpcMetric> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_fastrpc_metric, 0);
/**
* @generated from message perfetto.protos.AndroidFastrpcMetric.Subsystem
*/
export type AndroidFastrpcMetric_Subsystem = Message<"perfetto.protos.AndroidFastrpcMetric.Subsystem"> & {
/**
* @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.
*
* @generated from field: optional double total_alloc_size_bytes = 5;
*/
totalAllocSizeBytes: number;
};
/**
* Describes the message perfetto.protos.AndroidFastrpcMetric.Subsystem.
* Use `create(AndroidFastrpcMetric_SubsystemSchema)` to create a new message.
*/
export const AndroidFastrpcMetric_SubsystemSchema: GenMessage<AndroidFastrpcMetric_Subsystem> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_fastrpc_metric, 0, 0);