UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

103 lines 3.18 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/android/g2d_metric.proto. */ export declare const file_protos_perfetto_metrics_android_g2d_metric: GenFile; /** * @generated from message perfetto.protos.G2dMetrics */ export type G2dMetrics = Message<"perfetto.protos.G2dMetrics"> & { /** * @generated from field: optional perfetto.protos.G2dMetrics.G2dMetric g2d_hw = 1; */ g2dHw?: G2dMetrics_G2dMetric; /** * @generated from field: optional perfetto.protos.G2dMetrics.G2dMetric g2d_sw = 2; */ g2dSw?: G2dMetrics_G2dMetric; }; /** * Describes the message perfetto.protos.G2dMetrics. * Use `create(G2dMetricsSchema)` to create a new message. */ export declare const G2dMetricsSchema: GenMessage<G2dMetrics>; /** * @generated from message perfetto.protos.G2dMetrics.G2dInstance */ export type G2dMetrics_G2dInstance = Message<"perfetto.protos.G2dMetrics.G2dInstance"> & { /** * G2d name. * * @generated from field: optional string name = 1; */ name: string; /** * @generated from field: optional uint32 frame_count = 5; */ frameCount: number; /** * @generated from field: optional uint32 error_count = 6; */ errorCount: number; /** * @generated from field: optional double max_dur_ms = 7; */ maxDurMs: number; /** * @generated from field: optional double min_dur_ms = 8; */ minDurMs: number; /** * @generated from field: optional double avg_dur_ms = 9; */ avgDurMs: number; }; /** * Describes the message perfetto.protos.G2dMetrics.G2dInstance. * Use `create(G2dMetrics_G2dInstanceSchema)` to create a new message. */ export declare const G2dMetrics_G2dInstanceSchema: GenMessage<G2dMetrics_G2dInstance>; /** * @generated from message perfetto.protos.G2dMetrics.G2dMetric */ export type G2dMetrics_G2dMetric = Message<"perfetto.protos.G2dMetrics.G2dMetric"> & { /** * G2D Metric for each G2D Instance. * * @generated from field: repeated perfetto.protos.G2dMetrics.G2dInstance instances = 1; */ instances: G2dMetrics_G2dInstance[]; /** * the number of frames processed by G2D * * @generated from field: optional uint32 frame_count = 5; */ frameCount: number; /** * the number of error events * * @generated from field: optional uint32 error_count = 6; */ errorCount: number; /** * max/min/avg G2d frame durations for all instances. * * @generated from field: optional double max_dur_ms = 7; */ maxDurMs: number; /** * @generated from field: optional double min_dur_ms = 8; */ minDurMs: number; /** * @generated from field: optional double avg_dur_ms = 9; */ avgDurMs: number; }; /** * Describes the message perfetto.protos.G2dMetrics.G2dMetric. * Use `create(G2dMetrics_G2dMetricSchema)` to create a new message. */ export declare const G2dMetrics_G2dMetricSchema: GenMessage<G2dMetrics_G2dMetric>; //# sourceMappingURL=g2d_metric_pb.d.ts.map