perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
57 lines • 2.21 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/metrics/android/camera_metric.proto.
*/
export declare const file_protos_perfetto_metrics_android_camera_metric: GenFile;
/**
* @generated from message perfetto.protos.AndroidCameraMetric
*/
export type AndroidCameraMetric = Message<"perfetto.protos.AndroidCameraMetric"> & {
/**
* Counter 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: optional perfetto.protos.AndroidCameraMetric.Counter gc_rss_and_dma = 1;
*/
gcRssAndDma?: AndroidCameraMetric_Counter;
};
/**
* Describes the message perfetto.protos.AndroidCameraMetric.
* Use `create(AndroidCameraMetricSchema)` to create a new message.
*/
export declare const AndroidCameraMetricSchema: GenMessage<AndroidCameraMetric>;
/**
* @generated from message perfetto.protos.AndroidCameraMetric.Counter
*/
export type AndroidCameraMetric_Counter = Message<"perfetto.protos.AndroidCameraMetric.Counter"> & {
/**
* @generated from field: optional double min = 1;
*/
min: number;
/**
* @generated from field: optional double max = 2;
*/
max: number;
/**
* @generated from field: optional double avg = 3;
*/
avg: number;
};
/**
* Describes the message perfetto.protos.AndroidCameraMetric.Counter.
* Use `create(AndroidCameraMetric_CounterSchema)` to create a new message.
*/
export declare const AndroidCameraMetric_CounterSchema: GenMessage<AndroidCameraMetric_Counter>;
//# sourceMappingURL=camera_metric_pb.d.ts.map