UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

119 lines 4.28 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/android/irq_runtime_metric.proto. */ export declare const file_protos_perfetto_metrics_android_irq_runtime_metric: GenFile; /** * measure max IRQ runtime and IRQ tasks running over threshold. * * @generated from message perfetto.protos.AndroidIrqRuntimeMetric */ export type AndroidIrqRuntimeMetric = Message<"perfetto.protos.AndroidIrqRuntimeMetric"> & { /** * metrics for hardirq and softirq * * @generated from field: optional perfetto.protos.AndroidIrqRuntimeMetric.IrqRuntimeMetric hw_irq = 1; */ hwIrq?: AndroidIrqRuntimeMetric_IrqRuntimeMetric; /** * @generated from field: optional perfetto.protos.AndroidIrqRuntimeMetric.IrqRuntimeMetric sw_irq = 2; */ swIrq?: AndroidIrqRuntimeMetric_IrqRuntimeMetric; }; /** * Describes the message perfetto.protos.AndroidIrqRuntimeMetric. * Use `create(AndroidIrqRuntimeMetricSchema)` to create a new message. */ export declare const AndroidIrqRuntimeMetricSchema: GenMessage<AndroidIrqRuntimeMetric>; /** * @generated from message perfetto.protos.AndroidIrqRuntimeMetric.IrqSlice */ export type AndroidIrqRuntimeMetric_IrqSlice = Message<"perfetto.protos.AndroidIrqRuntimeMetric.IrqSlice"> & { /** * IRQ name * * @generated from field: optional string irq_name = 1; */ irqName: string; /** * timestamp * * @generated from field: optional int64 ts = 2; */ ts: bigint; /** * runtime of IRQ task * * @generated from field: optional int64 dur = 3; */ dur: bigint; }; /** * Describes the message perfetto.protos.AndroidIrqRuntimeMetric.IrqSlice. * Use `create(AndroidIrqRuntimeMetric_IrqSliceSchema)` to create a new message. */ export declare const AndroidIrqRuntimeMetric_IrqSliceSchema: GenMessage<AndroidIrqRuntimeMetric_IrqSlice>; /** * @generated from message perfetto.protos.AndroidIrqRuntimeMetric.ThresholdMetric */ export type AndroidIrqRuntimeMetric_ThresholdMetric = Message<"perfetto.protos.AndroidIrqRuntimeMetric.ThresholdMetric"> & { /** * Threshold value * * @generated from field: optional string threshold = 1; */ threshold: string; /** * over threshold count * * @generated from field: optional int64 over_threshold_count = 2; */ overThresholdCount: bigint; /** * anomaly ratio (over threshold count / total count) * * @generated from field: optional double anomaly_ratio = 3; */ anomalyRatio: number; }; /** * Describes the message perfetto.protos.AndroidIrqRuntimeMetric.ThresholdMetric. * Use `create(AndroidIrqRuntimeMetric_ThresholdMetricSchema)` to create a new message. */ export declare const AndroidIrqRuntimeMetric_ThresholdMetricSchema: GenMessage<AndroidIrqRuntimeMetric_ThresholdMetric>; /** * @generated from message perfetto.protos.AndroidIrqRuntimeMetric.IrqRuntimeMetric */ export type AndroidIrqRuntimeMetric_IrqRuntimeMetric = Message<"perfetto.protos.AndroidIrqRuntimeMetric.IrqRuntimeMetric"> & { /** * max runtime of IRQ tasks * * @generated from field: optional int64 max_runtime = 1; */ maxRuntime: bigint; /** * total IRQ tasks * * @generated from field: optional int64 total_count = 2; */ totalCount: bigint; /** * over threshold metric * * @generated from field: optional perfetto.protos.AndroidIrqRuntimeMetric.ThresholdMetric threshold_metric = 3; */ thresholdMetric?: AndroidIrqRuntimeMetric_ThresholdMetric; /** * information for top 10 IRQ tasks * * @generated from field: repeated perfetto.protos.AndroidIrqRuntimeMetric.IrqSlice longest_irq_slices = 4; */ longestIrqSlices: AndroidIrqRuntimeMetric_IrqSlice[]; }; /** * Describes the message perfetto.protos.AndroidIrqRuntimeMetric.IrqRuntimeMetric. * Use `create(AndroidIrqRuntimeMetric_IrqRuntimeMetricSchema)` to create a new message. */ export declare const AndroidIrqRuntimeMetric_IrqRuntimeMetricSchema: GenMessage<AndroidIrqRuntimeMetric_IrqRuntimeMetric>; //# sourceMappingURL=irq_runtime_metric_pb.d.ts.map