UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

352 lines 14.3 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/android/android_boot.proto. */ export declare const file_protos_perfetto_metrics_android_android_boot: GenFile; /** * This metric computes how much time processes spend in UNINTERRUPTIBLE_SLEEP * state * * @generated from message perfetto.protos.ProcessStateDurations */ export type ProcessStateDurations = Message<"perfetto.protos.ProcessStateDurations"> & { /** * @generated from field: optional int64 total_dur = 2; */ totalDur: bigint; /** * @generated from field: optional int64 uninterruptible_sleep_dur = 3; */ uninterruptibleSleepDur: bigint; }; /** * Describes the message perfetto.protos.ProcessStateDurations. * Use `create(ProcessStateDurationsSchema)` to create a new message. */ export declare const ProcessStateDurationsSchema: GenMessage<ProcessStateDurations>; /** * @generated from message perfetto.protos.AndroidBootMetric */ export type AndroidBootMetric = Message<"perfetto.protos.AndroidBootMetric"> & { /** * @generated from field: optional perfetto.protos.ProcessStateDurations system_server_durations = 1; */ systemServerDurations?: ProcessStateDurations; /** * @generated from field: optional perfetto.protos.ProcessStateDurations systemui_durations = 2; */ systemuiDurations?: ProcessStateDurations; /** * @generated from field: optional perfetto.protos.ProcessStateDurations launcher_durations = 3; */ launcherDurations?: ProcessStateDurations; /** * @generated from field: optional perfetto.protos.ProcessStateDurations gms_durations = 4; */ gmsDurations?: ProcessStateDurations; /** * @generated from field: optional perfetto.protos.AndroidBootMetric.LauncherBreakdown launcher_breakdown = 5; */ launcherBreakdown?: AndroidBootMetric_LauncherBreakdown; /** * @generated from field: optional perfetto.protos.AndroidBootMetric.ProcessStartAggregation full_trace_process_start_aggregation = 6; */ fullTraceProcessStartAggregation?: AndroidBootMetric_ProcessStartAggregation; /** * @generated from field: optional perfetto.protos.AndroidBootMetric.ProcessStartAggregation post_boot_process_start_aggregation = 7; */ postBootProcessStartAggregation?: AndroidBootMetric_ProcessStartAggregation; /** * @generated from field: optional perfetto.protos.AndroidBootMetric.GarbageCollectionAggregation full_trace_gc_aggregation = 8; */ fullTraceGcAggregation?: AndroidBootMetric_GarbageCollectionAggregation; /** * @generated from field: optional perfetto.protos.AndroidBootMetric.GarbageCollectionAggregation post_boot_gc_aggregation = 9; */ postBootGcAggregation?: AndroidBootMetric_GarbageCollectionAggregation; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.OomAdjusterTransitionCounts post_boot_oom_adjuster_transition_counts_global = 10; */ postBootOomAdjusterTransitionCountsGlobal: AndroidBootMetric_OomAdjusterTransitionCounts[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.OomAdjusterTransitionCounts post_boot_oom_adjuster_transition_counts_by_process = 11; */ postBootOomAdjusterTransitionCountsByProcess: AndroidBootMetric_OomAdjusterTransitionCounts[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.OomAdjusterTransitionCounts post_boot_oom_adjuster_transition_counts_by_oom_adj_reason = 12; */ postBootOomAdjusterTransitionCountsByOomAdjReason: AndroidBootMetric_OomAdjusterTransitionCounts[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.OomAdjBucketDurationAggregation post_boot_oom_adj_bucket_duration_agg_global = 13; */ postBootOomAdjBucketDurationAggGlobal: AndroidBootMetric_OomAdjBucketDurationAggregation[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.OomAdjBucketDurationAggregation post_boot_oom_adj_bucket_duration_agg_by_process = 14; */ postBootOomAdjBucketDurationAggByProcess: AndroidBootMetric_OomAdjBucketDurationAggregation[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.OomAdjDurationAggregation post_boot_oom_adj_duration_agg = 15; */ postBootOomAdjDurationAgg: AndroidBootMetric_OomAdjDurationAggregation[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.BroadcastCountAggregation post_boot_broadcast_process_count_by_intent = 16; */ postBootBroadcastProcessCountByIntent: AndroidBootMetric_BroadcastCountAggregation[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.BroadcastCountAggregation post_boot_broadcast_count_by_process = 17; */ postBootBroadcastCountByProcess: AndroidBootMetric_BroadcastCountAggregation[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.BroadcastDurationAggregation post_boot_brodcast_duration_agg_by_intent = 18; */ postBootBrodcastDurationAggByIntent: AndroidBootMetric_BroadcastDurationAggregation[]; /** * @generated from field: repeated perfetto.protos.AndroidBootMetric.BroadcastDurationAggregation post_boot_brodcast_duration_agg_by_process = 19; */ postBootBrodcastDurationAggByProcess: AndroidBootMetric_BroadcastDurationAggregation[]; }; /** * Describes the message perfetto.protos.AndroidBootMetric. * Use `create(AndroidBootMetricSchema)` to create a new message. */ export declare const AndroidBootMetricSchema: GenMessage<AndroidBootMetric>; /** * Launcher related boot metrics * * @generated from message perfetto.protos.AndroidBootMetric.LauncherBreakdown */ export type AndroidBootMetric_LauncherBreakdown = Message<"perfetto.protos.AndroidBootMetric.LauncherBreakdown"> & { /** * reports cold start time of NexusLauncher * * @generated from field: optional int64 cold_start_dur = 1; */ coldStartDur: bigint; }; /** * Describes the message perfetto.protos.AndroidBootMetric.LauncherBreakdown. * Use `create(AndroidBootMetric_LauncherBreakdownSchema)` to create a new message. */ export declare const AndroidBootMetric_LauncherBreakdownSchema: GenMessage<AndroidBootMetric_LauncherBreakdown>; /** * @generated from message perfetto.protos.AndroidBootMetric.ProcessStartAggregation */ export type AndroidBootMetric_ProcessStartAggregation = Message<"perfetto.protos.AndroidBootMetric.ProcessStartAggregation"> & { /** * @generated from field: optional int64 total_start_sum = 1; */ totalStartSum: bigint; /** * @generated from field: optional int64 num_of_processes = 2; */ numOfProcesses: bigint; /** * @generated from field: optional double average_start_time = 3; */ averageStartTime: number; }; /** * Describes the message perfetto.protos.AndroidBootMetric.ProcessStartAggregation. * Use `create(AndroidBootMetric_ProcessStartAggregationSchema)` to create a new message. */ export declare const AndroidBootMetric_ProcessStartAggregationSchema: GenMessage<AndroidBootMetric_ProcessStartAggregation>; /** * @generated from message perfetto.protos.AndroidBootMetric.GarbageCollectionAggregation */ export type AndroidBootMetric_GarbageCollectionAggregation = Message<"perfetto.protos.AndroidBootMetric.GarbageCollectionAggregation"> & { /** * @generated from field: optional int64 total_gc_count = 1; */ totalGcCount: bigint; /** * @generated from field: optional int64 num_of_processes_with_gc = 2; */ numOfProcessesWithGc: bigint; /** * @generated from field: optional int64 num_of_threads_with_gc = 3; */ numOfThreadsWithGc: bigint; /** * @generated from field: optional double avg_gc_duration = 4; */ avgGcDuration: number; /** * @generated from field: optional double avg_running_gc_duration = 5; */ avgRunningGcDuration: number; /** * @generated from field: optional int64 full_gc_count = 6; */ fullGcCount: bigint; /** * @generated from field: optional int64 collector_transition_gc_count = 7; */ collectorTransitionGcCount: bigint; /** * @generated from field: optional int64 young_gc_count = 8; */ youngGcCount: bigint; /** * @generated from field: optional int64 native_alloc_gc_count = 9; */ nativeAllocGcCount: bigint; /** * @generated from field: optional int64 explicit_gc_count = 10; */ explicitGcCount: bigint; /** * @generated from field: optional int64 alloc_gc_count = 11; */ allocGcCount: bigint; /** * @generated from field: optional double mb_per_ms_of_gc = 12; */ mbPerMsOfGc: number; }; /** * Describes the message perfetto.protos.AndroidBootMetric.GarbageCollectionAggregation. * Use `create(AndroidBootMetric_GarbageCollectionAggregationSchema)` to create a new message. */ export declare const AndroidBootMetric_GarbageCollectionAggregationSchema: GenMessage<AndroidBootMetric_GarbageCollectionAggregation>; /** * @generated from message perfetto.protos.AndroidBootMetric.OomAdjusterTransitionCounts */ export type AndroidBootMetric_OomAdjusterTransitionCounts = Message<"perfetto.protos.AndroidBootMetric.OomAdjusterTransitionCounts"> & { /** * name of the item aggregated by. example: process_name, * oom_adjuster_reason. * * @generated from field: optional string name = 1; */ name: string; /** * name of previous oom bucket. * * @generated from field: optional string src_bucket = 2; */ srcBucket: string; /** * name of oom bucket. * * @generated from field: optional string dest_bucket = 3; */ destBucket: string; /** * count of transitions * * @generated from field: optional int64 count = 4; */ count: bigint; }; /** * Describes the message perfetto.protos.AndroidBootMetric.OomAdjusterTransitionCounts. * Use `create(AndroidBootMetric_OomAdjusterTransitionCountsSchema)` to create a new message. */ export declare const AndroidBootMetric_OomAdjusterTransitionCountsSchema: GenMessage<AndroidBootMetric_OomAdjusterTransitionCounts>; /** * @generated from message perfetto.protos.AndroidBootMetric.OomAdjBucketDurationAggregation */ export type AndroidBootMetric_OomAdjBucketDurationAggregation = Message<"perfetto.protos.AndroidBootMetric.OomAdjBucketDurationAggregation"> & { /** * name of the item aggregated by. example: process_name, * oom_adjuster_reason * * @generated from field: optional string name = 1; */ name: string; /** * name of oom bucket. * * @generated from field: optional string bucket = 2; */ bucket: string; /** * Duration of the time in the bucket * * @generated from field: optional int64 total_dur = 3; */ totalDur: bigint; }; /** * Describes the message perfetto.protos.AndroidBootMetric.OomAdjBucketDurationAggregation. * Use `create(AndroidBootMetric_OomAdjBucketDurationAggregationSchema)` to create a new message. */ export declare const AndroidBootMetric_OomAdjBucketDurationAggregationSchema: GenMessage<AndroidBootMetric_OomAdjBucketDurationAggregation>; /** * @generated from message perfetto.protos.AndroidBootMetric.OomAdjDurationAggregation */ export type AndroidBootMetric_OomAdjDurationAggregation = Message<"perfetto.protos.AndroidBootMetric.OomAdjDurationAggregation"> & { /** * @generated from field: optional int64 min_oom_adj_dur = 1; */ minOomAdjDur: bigint; /** * @generated from field: optional int64 max_oom_adj_dur = 2; */ maxOomAdjDur: bigint; /** * @generated from field: optional double avg_oom_adj_dur = 3; */ avgOomAdjDur: number; /** * @generated from field: optional int64 oom_adj_event_count = 4; */ oomAdjEventCount: bigint; /** * @generated from field: optional string oom_adj_reason = 5; */ oomAdjReason: string; }; /** * Describes the message perfetto.protos.AndroidBootMetric.OomAdjDurationAggregation. * Use `create(AndroidBootMetric_OomAdjDurationAggregationSchema)` to create a new message. */ export declare const AndroidBootMetric_OomAdjDurationAggregationSchema: GenMessage<AndroidBootMetric_OomAdjDurationAggregation>; /** * @generated from message perfetto.protos.AndroidBootMetric.BroadcastCountAggregation */ export type AndroidBootMetric_BroadcastCountAggregation = Message<"perfetto.protos.AndroidBootMetric.BroadcastCountAggregation"> & { /** * @generated from field: optional string name = 1; */ name: string; /** * @generated from field: optional int64 count = 2; */ count: bigint; }; /** * Describes the message perfetto.protos.AndroidBootMetric.BroadcastCountAggregation. * Use `create(AndroidBootMetric_BroadcastCountAggregationSchema)` to create a new message. */ export declare const AndroidBootMetric_BroadcastCountAggregationSchema: GenMessage<AndroidBootMetric_BroadcastCountAggregation>; /** * Stats for Broadcasts aggregated with duration. * * @generated from message perfetto.protos.AndroidBootMetric.BroadcastDurationAggregation */ export type AndroidBootMetric_BroadcastDurationAggregation = Message<"perfetto.protos.AndroidBootMetric.BroadcastDurationAggregation"> & { /** * @generated from field: optional string name = 1; */ name: string; /** * @generated from field: optional double avg_duration = 2; */ avgDuration: number; /** * @generated from field: optional int64 max_duration = 3; */ maxDuration: bigint; /** * @generated from field: optional int64 sum_duration = 4; */ sumDuration: bigint; }; /** * Describes the message perfetto.protos.AndroidBootMetric.BroadcastDurationAggregation. * Use `create(AndroidBootMetric_BroadcastDurationAggregationSchema)` to create a new message. */ export declare const AndroidBootMetric_BroadcastDurationAggregationSchema: GenMessage<AndroidBootMetric_BroadcastDurationAggregation>; //# sourceMappingURL=android_boot_pb.d.ts.map