UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

45 lines 1.42 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { CSwitchEtwEvent, ReadyThreadEtwEvent } from "./etw_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/etw/etw_event.proto. */ export declare const file_protos_perfetto_trace_etw_etw_event: GenFile; /** * @generated from message perfetto.protos.EtwTraceEvent */ export type EtwTraceEvent = Message<"perfetto.protos.EtwTraceEvent"> & { /** * @generated from field: optional uint64 timestamp = 1; */ timestamp: bigint; /** * @generated from field: optional uint32 cpu = 4; */ cpu: number; /** * @generated from oneof perfetto.protos.EtwTraceEvent.event */ event: { /** * @generated from field: perfetto.protos.CSwitchEtwEvent c_switch = 2; */ value: CSwitchEtwEvent; case: "cSwitch"; } | { /** * @generated from field: perfetto.protos.ReadyThreadEtwEvent ready_thread = 3; */ value: ReadyThreadEtwEvent; case: "readyThread"; } | { case: undefined; value?: undefined; }; }; /** * Describes the message perfetto.protos.EtwTraceEvent. * Use `create(EtwTraceEventSchema)` to create a new message. */ export declare const EtwTraceEventSchema: GenMessage<EtwTraceEvent>; //# sourceMappingURL=etw_event_pb.d.ts.map