UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

70 lines 2.5 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/android/dma_heap_metric.proto. */ export declare const file_protos_perfetto_metrics_android_dma_heap_metric: GenFile; /** * dma-buf heap memory stats on Android. * * @generated from message perfetto.protos.AndroidDmaHeapMetric */ export type AndroidDmaHeapMetric = Message<"perfetto.protos.AndroidDmaHeapMetric"> & { /** * @generated from field: optional double avg_size_bytes = 1; */ avgSizeBytes: number; /** * @generated from field: optional double min_size_bytes = 2; */ minSizeBytes: number; /** * @generated from field: optional double max_size_bytes = 3; */ maxSizeBytes: number; /** * Total allocation size. * Essentially the sum of positive allocs. * * @generated from field: optional double total_alloc_size_bytes = 4; */ totalAllocSizeBytes: number; /** * Total delta size (bytes allocated but not freed during the trace) * * @generated from field: optional int32 total_delta_bytes = 5; */ totalDeltaBytes: number; /** * @generated from field: repeated perfetto.protos.AndroidDmaHeapMetric.ProcessStats process_stats = 6; */ processStats: AndroidDmaHeapMetric_ProcessStats[]; }; /** * Describes the message perfetto.protos.AndroidDmaHeapMetric. * Use `create(AndroidDmaHeapMetricSchema)` to create a new message. */ export declare const AndroidDmaHeapMetricSchema: GenMessage<AndroidDmaHeapMetric>; /** * @generated from message perfetto.protos.AndroidDmaHeapMetric.ProcessStats */ export type AndroidDmaHeapMetric_ProcessStats = Message<"perfetto.protos.AndroidDmaHeapMetric.ProcessStats"> & { /** * process that either directly or indirectly allocated the buffers * * @generated from field: optional string process_name = 1; */ processName: string; /** * Bytes allocated but not freed during this trace * * @generated from field: optional int32 delta_bytes = 2; */ deltaBytes: number; }; /** * Describes the message perfetto.protos.AndroidDmaHeapMetric.ProcessStats. * Use `create(AndroidDmaHeapMetric_ProcessStatsSchema)` to create a new message. */ export declare const AndroidDmaHeapMetric_ProcessStatsSchema: GenMessage<AndroidDmaHeapMetric_ProcessStats>; //# sourceMappingURL=dma_heap_metric_pb.d.ts.map