perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
47 lines • 1.81 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/statsd/statsd_atom.proto.
*/
export declare const file_protos_perfetto_trace_statsd_statsd_atom: GenFile;
/**
* Deliberate empty message. See comment on StatsdAtom#atom below.
*
* @generated from message perfetto.protos.Atom
*/
export type Atom = Message<"perfetto.protos.Atom"> & {};
/**
* Describes the message perfetto.protos.Atom.
* Use `create(AtomSchema)` to create a new message.
*/
export declare const AtomSchema: GenMessage<Atom>;
/**
* One or more statsd atoms. This must continue to match:
* perfetto/protos/third_party/statsd/shell_data.proto
* So that we can efficiently add data from statsd directly to the
* trace.
*
* @generated from message perfetto.protos.StatsdAtom
*/
export type StatsdAtom = Message<"perfetto.protos.StatsdAtom"> & {
/**
* Atom should be filled with an Atom proto from:
* https://cs.android.com/android/platform/superproject/main/+/main:frameworks/proto_logging/stats/atoms.proto?q=f:stats%2Fatoms.proto$%20message%5C%20Atom
* We don't reference Atom directly here since we don't want to import
* Atom.proto and all its transitive dependencies into Perfetto.
* atom and timestamp_nanos have the same cardinality
*
* @generated from field: repeated perfetto.protos.Atom atom = 1;
*/
atom: Atom[];
/**
* @generated from field: repeated int64 timestamp_nanos = 2;
*/
timestampNanos: bigint[];
};
/**
* Describes the message perfetto.protos.StatsdAtom.
* Use `create(StatsdAtomSchema)` to create a new message.
*/
export declare const StatsdAtomSchema: GenMessage<StatsdAtom>;
//# sourceMappingURL=statsd_atom_pb.d.ts.map