UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

152 lines 5.14 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { AndroidProcessMetadata } from "./process_metadata_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/android/android_garbage_collection_unagg_metric.proto. */ export declare const file_protos_perfetto_metrics_android_android_garbage_collection_unagg_metric: GenFile; /** * @generated from message perfetto.protos.AndroidGarbageCollectionUnaggMetric */ export type AndroidGarbageCollectionUnaggMetric = Message<"perfetto.protos.AndroidGarbageCollectionUnaggMetric"> & { /** * @generated from field: repeated perfetto.protos.AndroidGarbageCollectionUnaggMetric.GarbageCollectionEvent gc_events = 1; */ gcEvents: AndroidGarbageCollectionUnaggMetric_GarbageCollectionEvent[]; }; /** * Describes the message perfetto.protos.AndroidGarbageCollectionUnaggMetric. * Use `create(AndroidGarbageCollectionUnaggMetricSchema)` to create a new message. */ export declare const AndroidGarbageCollectionUnaggMetricSchema: GenMessage<AndroidGarbageCollectionUnaggMetric>; /** * @generated from message perfetto.protos.AndroidGarbageCollectionUnaggMetric.GarbageCollectionEvent */ export type AndroidGarbageCollectionUnaggMetric_GarbageCollectionEvent = Message<"perfetto.protos.AndroidGarbageCollectionUnaggMetric.GarbageCollectionEvent"> & { /** * Name of thread running garbage collection. * * @generated from field: optional string thread_name = 1; */ threadName: string; /** * Name of process running garbage collection. * * @generated from field: optional string process_name = 2; */ processName: string; /** * Type of garbage collection. * * @generated from field: optional string gc_type = 3; */ gcType: string; /** * Whether gargage collection is mark compact or copying. * * @generated from field: optional int64 is_mark_compact = 4; */ isMarkCompact: bigint; /** * MB reclaimed after garbage collection. * * @generated from field: optional double reclaimed_mb = 5; */ reclaimedMb: number; /** * Minimum heap size in MB during garbage collection. * * @generated from field: optional double min_heap_mb = 6; */ minHeapMb: number; /** * Maximum heap size in MB during garbage collection. * * @generated from field: optional double max_heap_mb = 7; */ maxHeapMb: number; /** * Memory reclaimed per ms of running time. * * @generated from field: optional double mb_per_ms_of_running_gc = 8; */ mbPerMsOfRunningGc: number; /** * Memory reclaimed per ms of wall time. * * @generated from field: optional double mb_per_ms_of_wall_gc = 9; */ mbPerMsOfWallGc: number; /** * Garbage collection wall duration. * * @generated from field: optional int64 gc_dur = 10; */ gcDur: bigint; /** * Garbage collection duration spent executing on CPU. * * @generated from field: optional int64 gc_running_dur = 11; */ gcRunningDur: bigint; /** * Garbage collection duration spent waiting for CPU. * * @generated from field: optional int64 gc_runnable_dur = 12; */ gcRunnableDur: bigint; /** * Garbage collection duration spent waiting in the Linux kernel on IO. * * @generated from field: optional int64 gc_unint_io_dur = 13; */ gcUnintIoDur: bigint; /** * Garbage collection duration spent waiting in the Linux kernel without IO. * * @generated from field: optional int64 gc_unint_non_io_dur = 14; */ gcUnintNonIoDur: bigint; /** * Garbage collection duration spent waiting in interruptible sleep. * * @generated from field: optional int64 gc_int_dur = 15; */ gcIntDur: bigint; /** * ts of the event in trace. * * @generated from field: optional int64 gc_ts = 16; */ gcTs: bigint; /** * pid of the event in trace. * * @generated from field: optional int64 pid = 17; */ pid: bigint; /** * tid of the event in trace. * * @generated from field: optional int64 tid = 18; */ tid: bigint; /** * monotonic duration of event. * * @generated from field: optional int64 gc_monotonic_dur = 19; */ gcMonotonicDur: bigint; /** * Details about the process (uid, version, etc) * * @generated from field: optional perfetto.protos.AndroidProcessMetadata process = 20; */ process?: AndroidProcessMetadata; }; /** * Describes the message perfetto.protos.AndroidGarbageCollectionUnaggMetric.GarbageCollectionEvent. * Use `create(AndroidGarbageCollectionUnaggMetric_GarbageCollectionEventSchema)` to create a new message. */ export declare const AndroidGarbageCollectionUnaggMetric_GarbageCollectionEventSchema: GenMessage<AndroidGarbageCollectionUnaggMetric_GarbageCollectionEvent>; //# sourceMappingURL=android_garbage_collection_unagg_metric_pb.d.ts.map