UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

184 lines (157 loc) 8.45 kB
// // Copyright (C) 2024 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/android_oom_adjuster_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/android_oom_adjuster_metric.proto. */ export const file_protos_perfetto_metrics_android_android_oom_adjuster_metric: GenFile = /*@__PURE__*/ fileDesc("CkFwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL2FuZHJvaWRfb29tX2FkanVzdGVyX21ldHJpYy5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIrcIChhBbmRyb2lkT29tQWRqdXN0ZXJNZXRyaWMSdAolb29tX2FkanVzdGVyX3RyYW5zaXRpb25fY291bnRzX2dsb2JhbBgBIAMoCzJFLnBlcmZldHRvLnByb3Rvcy5BbmRyb2lkT29tQWRqdXN0ZXJNZXRyaWMuT29tQWRqdXN0ZXJUcmFuc2l0aW9uQ291bnRzEngKKW9vbV9hZGp1c3Rlcl90cmFuc2l0aW9uX2NvdW50c19ieV9wcm9jZXNzGAIgAygLMkUucGVyZmV0dG8ucHJvdG9zLkFuZHJvaWRPb21BZGp1c3Rlck1ldHJpYy5Pb21BZGp1c3RlclRyYW5zaXRpb25Db3VudHMSfwowb29tX2FkanVzdGVyX3RyYW5zaXRpb25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*/ export type AndroidOomAdjusterMetric = Message<"perfetto.protos.AndroidOomAdjusterMetric"> & { /** * @generated from field: repeated perfetto.protos.AndroidOomAdjusterMetric.OomAdjusterTransitionCounts oom_adjuster_transition_counts_global = 1; */ oomAdjusterTransitionCountsGlobal: AndroidOomAdjusterMetric_OomAdjusterTransitionCounts[]; /** * @generated from field: repeated perfetto.protos.AndroidOomAdjusterMetric.OomAdjusterTransitionCounts oom_adjuster_transition_counts_by_process = 2; */ oomAdjusterTransitionCountsByProcess: AndroidOomAdjusterMetric_OomAdjusterTransitionCounts[]; /** * @generated from field: repeated perfetto.protos.AndroidOomAdjusterMetric.OomAdjusterTransitionCounts oom_adjuster_transition_counts_by_oom_adj_reason = 3; */ oomAdjusterTransitionCountsByOomAdjReason: AndroidOomAdjusterMetric_OomAdjusterTransitionCounts[]; /** * @generated from field: repeated perfetto.protos.AndroidOomAdjusterMetric.OomAdjBucketDurationAggregation oom_adj_bucket_duration_agg_global = 4; */ oomAdjBucketDurationAggGlobal: AndroidOomAdjusterMetric_OomAdjBucketDurationAggregation[]; /** * @generated from field: repeated perfetto.protos.AndroidOomAdjusterMetric.OomAdjBucketDurationAggregation oom_adj_bucket_duration_agg_by_process = 5; */ oomAdjBucketDurationAggByProcess: AndroidOomAdjusterMetric_OomAdjBucketDurationAggregation[]; /** * @generated from field: repeated perfetto.protos.AndroidOomAdjusterMetric.OomAdjDurationAggregation oom_adj_duration_agg = 6; */ oomAdjDurationAgg: AndroidOomAdjusterMetric_OomAdjDurationAggregation[]; }; /** * Describes the message perfetto.protos.AndroidOomAdjusterMetric. * Use `create(AndroidOomAdjusterMetricSchema)` to create a new message. */ export const AndroidOomAdjusterMetricSchema: GenMessage<AndroidOomAdjusterMetric> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_android_android_oom_adjuster_metric, 0); /** * @generated from message perfetto.protos.AndroidOomAdjusterMetric.OomAdjusterTransitionCounts */ export type AndroidOomAdjusterMetric_OomAdjusterTransitionCounts = Message<"perfetto.protos.AndroidOomAdjusterMetric.OomAdjusterTransitionCounts"> & { /** * name of the item aggregated by. example: process_name, * oom_adjuster_reason. * * @generated from field: optional string name = 1; */ name: string; /** * name of previous oom bucket. * * @generated from field: optional string src_bucket = 2; */ srcBucket: string; /** * name of oom bucket. * * @generated from field: optional string dest_bucket = 3; */ destBucket: string; /** * count of transitions * * @generated from field: optional int64 count = 4; */ count: bigint; }; /** * Describes the message perfetto.protos.AndroidOomAdjusterMetric.OomAdjusterTransitionCounts. * Use `create(AndroidOomAdjusterMetric_OomAdjusterTransitionCountsSchema)` to create a new message. */ export const AndroidOomAdjusterMetric_OomAdjusterTransitionCountsSchema: GenMessage<AndroidOomAdjusterMetric_OomAdjusterTransitionCounts> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_android_android_oom_adjuster_metric, 0, 0); /** * @generated from message perfetto.protos.AndroidOomAdjusterMetric.OomAdjBucketDurationAggregation */ export type AndroidOomAdjusterMetric_OomAdjBucketDurationAggregation = Message<"perfetto.protos.AndroidOomAdjusterMetric.OomAdjBucketDurationAggregation"> & { /** * name of the item aggregated by. example: process_name, * oom_adjuster_reason * * @generated from field: optional string name = 1; */ name: string; /** * name of oom bucket. * * @generated from field: optional string bucket = 2; */ bucket: string; /** * Duration of the time in the bucket * * @generated from field: optional int64 total_dur = 3; */ totalDur: bigint; }; /** * Describes the message perfetto.protos.AndroidOomAdjusterMetric.OomAdjBucketDurationAggregation. * Use `create(AndroidOomAdjusterMetric_OomAdjBucketDurationAggregationSchema)` to create a new message. */ export const AndroidOomAdjusterMetric_OomAdjBucketDurationAggregationSchema: GenMessage<AndroidOomAdjusterMetric_OomAdjBucketDurationAggregation> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_android_android_oom_adjuster_metric, 0, 1); /** * @generated from message perfetto.protos.AndroidOomAdjusterMetric.OomAdjDurationAggregation */ export type AndroidOomAdjusterMetric_OomAdjDurationAggregation = Message<"perfetto.protos.AndroidOomAdjusterMetric.OomAdjDurationAggregation"> & { /** * @generated from field: optional int64 min_oom_adj_dur = 1; */ minOomAdjDur: bigint; /** * @generated from field: optional int64 max_oom_adj_dur = 2; */ maxOomAdjDur: bigint; /** * @generated from field: optional double avg_oom_adj_dur = 3; */ avgOomAdjDur: number; /** * @generated from field: optional int64 oom_adj_event_count = 4; */ oomAdjEventCount: bigint; /** * @generated from field: optional string oom_adj_reason = 5; */ oomAdjReason: string; }; /** * Describes the message perfetto.protos.AndroidOomAdjusterMetric.OomAdjDurationAggregation. * Use `create(AndroidOomAdjusterMetric_OomAdjDurationAggregationSchema)` to create a new message. */ export const AndroidOomAdjusterMetric_OomAdjDurationAggregationSchema: GenMessage<AndroidOomAdjusterMetric_OomAdjDurationAggregation> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_android_android_oom_adjuster_metric, 0, 2);