UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

92 lines 3.73 kB
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/android/android_anomaly_metric.proto. */ export declare const file_protos_perfetto_metrics_android_android_anomaly_metric: GenFile; /** * Detects outlier scenarios in different Android Systems in a trace. For now, this just * detects high binder transaction rates. In the future, there could be others * like garbage_collection, CPU, broadcasts, etc. * * @generated from message perfetto.protos.AndroidAnomalyMetric */ export type AndroidAnomalyMetric = Message<"perfetto.protos.AndroidAnomalyMetric"> & { /** * @generated from field: optional perfetto.protos.AndroidAnomalyMetric.Binder binder = 1; */ binder?: AndroidAnomalyMetric_Binder; }; /** * Describes the message perfetto.protos.AndroidAnomalyMetric. * Use `create(AndroidAnomalyMetricSchema)` to create a new message. */ export declare const AndroidAnomalyMetricSchema: GenMessage<AndroidAnomalyMetric>; /** * For anomalies related to a particular process. * * @generated from message perfetto.protos.AndroidAnomalyMetric.ProcessAnomaly */ export type AndroidAnomalyMetric_ProcessAnomaly = Message<"perfetto.protos.AndroidAnomalyMetric.ProcessAnomaly"> & { /** * @generated from field: optional string process_name = 1; */ processName: string; /** * @generated from field: optional uint32 pid = 2; */ pid: number; /** * @generated from field: optional perfetto.protos.AndroidAnomalyMetric.Unit unit = 3; */ unit: AndroidAnomalyMetric_Unit; /** * @generated from field: optional uint32 value = 4; */ value: number; }; /** * Describes the message perfetto.protos.AndroidAnomalyMetric.ProcessAnomaly. * Use `create(AndroidAnomalyMetric_ProcessAnomalySchema)` to create a new message. */ export declare const AndroidAnomalyMetric_ProcessAnomalySchema: GenMessage<AndroidAnomalyMetric_ProcessAnomaly>; /** * Binder subsystem outliers with the following aggegations: * 1. Max incoming binder transaction count from each process over a one second sliding window. * 2. Max outgoing binder transaction count from each process over a one second sliding window. * * @generated from message perfetto.protos.AndroidAnomalyMetric.Binder */ export type AndroidAnomalyMetric_Binder = Message<"perfetto.protos.AndroidAnomalyMetric.Binder"> & { /** * @generated from field: repeated perfetto.protos.AndroidAnomalyMetric.ProcessAnomaly max_incoming_process_count_per_second = 1; */ maxIncomingProcessCountPerSecond: AndroidAnomalyMetric_ProcessAnomaly[]; /** * @generated from field: repeated perfetto.protos.AndroidAnomalyMetric.ProcessAnomaly max_outgoing_process_count_per_second = 2; */ maxOutgoingProcessCountPerSecond: AndroidAnomalyMetric_ProcessAnomaly[]; }; /** * Describes the message perfetto.protos.AndroidAnomalyMetric.Binder. * Use `create(AndroidAnomalyMetric_BinderSchema)` to create a new message. */ export declare const AndroidAnomalyMetric_BinderSchema: GenMessage<AndroidAnomalyMetric_Binder>; /** * @generated from enum perfetto.protos.AndroidAnomalyMetric.Unit */ export declare enum AndroidAnomalyMetric_Unit { /** * @generated from enum value: UNIT_UNSPECIFIED = 0; */ UNIT_UNSPECIFIED = 0, /** * @generated from enum value: COUNT_PER_SECOND = 1; */ COUNT_PER_SECOND = 1 } /** * Describes the enum perfetto.protos.AndroidAnomalyMetric.Unit. */ export declare const AndroidAnomalyMetric_UnitSchema: GenEnum<AndroidAnomalyMetric_Unit>; //# sourceMappingURL=android_anomaly_metric_pb.d.ts.map