UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

69 lines 2.74 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/android/camera_unagg_metric.proto. */ export declare const file_protos_perfetto_metrics_android_camera_unagg_metric: GenFile; /** * @generated from message perfetto.protos.AndroidCameraUnaggregatedMetric */ export type AndroidCameraUnaggregatedMetric = Message<"perfetto.protos.AndroidCameraUnaggregatedMetric"> & { /** * Timeseries for the sum of DMA and RSS across GCA, cameraserver * and HAL. This provides a single number for the memory * pressure using the camera is putting on the rest of the * system. * * Note: this number assumes that all DMA pressure is coming * from the camera as this is usually a pretty good * approximation. Being more accurate here would increase the * complexity of the metric significantly. * * Note: if there are multiple GCA/cameraserver/HAL processes * in the trace, this metric will simply take the latest * one in the trace and ignore the others. * * @generated from field: repeated perfetto.protos.AndroidCameraUnaggregatedMetric.Value gc_rss_and_dma = 1; */ gcRssAndDma: AndroidCameraUnaggregatedMetric_Value[]; }; /** * Describes the message perfetto.protos.AndroidCameraUnaggregatedMetric. * Use `create(AndroidCameraUnaggregatedMetricSchema)` to create a new message. */ export declare const AndroidCameraUnaggregatedMetricSchema: GenMessage<AndroidCameraUnaggregatedMetric>; /** * @generated from message perfetto.protos.AndroidCameraUnaggregatedMetric.Value */ export type AndroidCameraUnaggregatedMetric_Value = Message<"perfetto.protos.AndroidCameraUnaggregatedMetric.Value"> & { /** * @generated from field: optional int64 ts = 1; */ ts: bigint; /** * @generated from field: optional double gca_rss_val = 2; */ gcaRssVal: number; /** * @generated from field: optional double hal_rss_val = 3; */ halRssVal: number; /** * @generated from field: optional double cameraserver_rss_val = 4; */ cameraserverRssVal: number; /** * @generated from field: optional double dma_val = 5; */ dmaVal: number; /** * @generated from field: optional double value = 6; */ value: number; }; /** * Describes the message perfetto.protos.AndroidCameraUnaggregatedMetric.Value. * Use `create(AndroidCameraUnaggregatedMetric_ValueSchema)` to create a new message. */ export declare const AndroidCameraUnaggregatedMetric_ValueSchema: GenMessage<AndroidCameraUnaggregatedMetric_Value>; //# sourceMappingURL=camera_unagg_metric_pb.d.ts.map