UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

74 lines 2.82 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { AndroidBlockingCall } from "./android_blocking_call_pb"; import type { AndroidProcessMetadata } from "./process_metadata_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/android/android_blocking_calls_cuj_metric.proto. */ export declare const file_protos_perfetto_metrics_android_android_blocking_calls_cuj_metric: GenFile; /** * Blocking calls inside Android CUJs. Shows count and total duration for each. * * @generated from message perfetto.protos.AndroidBlockingCallsCujMetric */ export type AndroidBlockingCallsCujMetric = Message<"perfetto.protos.AndroidBlockingCallsCujMetric"> & { /** * @generated from field: repeated perfetto.protos.AndroidBlockingCallsCujMetric.Cuj cuj = 1; */ cuj: AndroidBlockingCallsCujMetric_Cuj[]; }; /** * Describes the message perfetto.protos.AndroidBlockingCallsCujMetric. * Use `create(AndroidBlockingCallsCujMetricSchema)` to create a new message. */ export declare const AndroidBlockingCallsCujMetricSchema: GenMessage<AndroidBlockingCallsCujMetric>; /** * Next id: 7 * * @generated from message perfetto.protos.AndroidBlockingCallsCujMetric.Cuj */ export type AndroidBlockingCallsCujMetric_Cuj = Message<"perfetto.protos.AndroidBlockingCallsCujMetric.Cuj"> & { /** * ID of the CUJ that is unique within the trace. * * @generated from field: optional int32 id = 1; */ id: number; /** * Name of the CUJ, extracted from the CUJ jank or latency trace marker. * For example SHADE_EXPAND_COLLAPSE from J<SHADE_EXPAND_COLLAPSE>. * * @generated from field: optional string name = 2; */ name: string; /** * Details about the process (uid, version, etc) * * @generated from field: optional perfetto.protos.AndroidProcessMetadata process = 3; */ process?: AndroidProcessMetadata; /** * ts of the CUJ trace marker slice, in ns. * * @generated from field: optional int64 ts = 4; */ ts: bigint; /** * dur of the CUJ trace marker slice, in ns. * * @generated from field: optional int64 dur = 5; */ dur: bigint; /** * List of blocking calls on the process main thread. * * @generated from field: repeated perfetto.protos.AndroidBlockingCall blocking_calls = 6; */ blockingCalls: AndroidBlockingCall[]; }; /** * Describes the message perfetto.protos.AndroidBlockingCallsCujMetric.Cuj. * Use `create(AndroidBlockingCallsCujMetric_CujSchema)` to create a new message. */ export declare const AndroidBlockingCallsCujMetric_CujSchema: GenMessage<AndroidBlockingCallsCujMetric_Cuj>; //# sourceMappingURL=android_blocking_calls_cuj_metric_pb.d.ts.map