UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

42 lines 1.46 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/config/gpu/gpu_counter_config.proto. */ export declare const file_protos_perfetto_config_gpu_gpu_counter_config: GenFile; /** * @generated from message perfetto.protos.GpuCounterConfig */ export type GpuCounterConfig = Message<"perfetto.protos.GpuCounterConfig"> & { /** * Desired sampling interval for counters. * * @generated from field: optional uint64 counter_period_ns = 1; */ counterPeriodNs: bigint; /** * List of counters to be sampled. Counter IDs correspond to the ones * described in GpuCounterSpec in the data source descriptor. * * @generated from field: repeated uint32 counter_ids = 2; */ counterIds: number[]; /** * Sample counters by instrumenting command buffers. * * @generated from field: optional bool instrumented_sampling = 3; */ instrumentedSampling: boolean; /** * Fix gpu clock rate during trace session. * * @generated from field: optional bool fix_gpu_clock = 4; */ fixGpuClock: boolean; }; /** * Describes the message perfetto.protos.GpuCounterConfig. * Use `create(GpuCounterConfigSchema)` to create a new message. */ export declare const GpuCounterConfigSchema: GenMessage<GpuCounterConfig>; //# sourceMappingURL=gpu_counter_config_pb.d.ts.map