UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

55 lines 1.8 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/metrics/chrome/media_metric.proto. */ export declare const file_protos_perfetto_metrics_chrome_media_metric: GenFile; /** * Ported from catapult's media_metric.html. * * @generated from message perfetto.protos.MediaMetric */ export type MediaMetric = Message<"perfetto.protos.MediaMetric"> & { /** * @generated from field: repeated double time_to_video_play = 1; */ timeToVideoPlay: number[]; /** * @generated from field: repeated double time_to_audio_play = 2; */ timeToAudioPlay: number[]; /** * @generated from field: repeated int64 dropped_frame_count = 3; */ droppedFrameCount: bigint[]; /** * @generated from field: repeated double buffering_time = 4; */ bufferingTime: number[]; /** * @generated from field: repeated double roughness = 5; */ roughness: number[]; /** * @generated from field: repeated double freezing = 6; */ freezing: number[]; /** * These have multiple dynamic histogram names in the TBMv2 version. Because * TBMv3 doesn't support dynamic names, we report one value per seek into each * of these two combined histograms. * * @generated from field: repeated double seek_time = 8; */ seekTime: number[]; /** * @generated from field: repeated double pipeline_seek_time = 9; */ pipelineSeekTime: number[]; }; /** * Describes the message perfetto.protos.MediaMetric. * Use `create(MediaMetricSchema)` to create a new message. */ export declare const MediaMetricSchema: GenMessage<MediaMetric>; //# sourceMappingURL=media_metric_pb.d.ts.map