perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
86 lines (74 loc) • 3.2 kB
text/typescript
//
// 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/lmk_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/lmk_metric.proto.
*/
export const file_protos_perfetto_metrics_android_lmk_metric: GenFile = /*@__PURE__*/
fileDesc("CjBwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL2xta19tZXRyaWMucHJvdG8SD3BlcmZldHRvLnByb3RvcyK5AQoQQW5kcm9pZExta01ldHJpYxITCgt0b3RhbF9jb3VudBgBIAEoBRJCCgxieV9vb21fc2NvcmUYAiADKAsyLC5wZXJmZXR0by5wcm90b3MuQW5kcm9pZExta01ldHJpYy5CeU9vbVNjb3JlEhgKEG9vbV92aWN0aW1fY291bnQYAyABKAUaMgoKQnlPb21TY29yZRIVCg1vb21fc2NvcmVfYWRqGAEgASgFEg0KBWNvdW50GAIgASgF");
/**
* LMK stats on Android.
*
* @generated from message perfetto.protos.AndroidLmkMetric
*/
export type AndroidLmkMetric = Message<"perfetto.protos.AndroidLmkMetric"> & {
/**
* Total count of LMK events observed in the trace.
*
* @generated from field: optional int32 total_count = 1;
*/
totalCount: number;
/**
* @generated from field: repeated perfetto.protos.AndroidLmkMetric.ByOomScore by_oom_score = 2;
*/
byOomScore: AndroidLmkMetric_ByOomScore[];
/**
* OOM reaper kills. Enabled via the oom/mark_victim point. Should never
* happen.
*
* @generated from field: optional int32 oom_victim_count = 3;
*/
oomVictimCount: number;
};
/**
* Describes the message perfetto.protos.AndroidLmkMetric.
* Use `create(AndroidLmkMetricSchema)` to create a new message.
*/
export const AndroidLmkMetricSchema: GenMessage<AndroidLmkMetric> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_lmk_metric, 0);
/**
* @generated from message perfetto.protos.AndroidLmkMetric.ByOomScore
*/
export type AndroidLmkMetric_ByOomScore = Message<"perfetto.protos.AndroidLmkMetric.ByOomScore"> & {
/**
* @generated from field: optional int32 oom_score_adj = 1;
*/
oomScoreAdj: number;
/**
* @generated from field: optional int32 count = 2;
*/
count: number;
};
/**
* Describes the message perfetto.protos.AndroidLmkMetric.ByOomScore.
* Use `create(AndroidLmkMetric_ByOomScoreSchema)` to create a new message.
*/
export const AndroidLmkMetric_ByOomScoreSchema: GenMessage<AndroidLmkMetric_ByOomScore> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_lmk_metric, 0, 0);