perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
75 lines • 2.44 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto.
*/
export declare const file_protos_perfetto_trace_chrome_chrome_benchmark_metadata: GenFile;
/**
* This message is not intended to be written by the chrome on the device.
* It's emitted on the host by the telemetry benchmark infrastructure (it's a
* part of the trace that's written by the telemetry tracing agent).
*
* @generated from message perfetto.protos.ChromeBenchmarkMetadata
*/
export type ChromeBenchmarkMetadata = Message<"perfetto.protos.ChromeBenchmarkMetadata"> & {
/**
* Time when the benchmark execution started (host unixtime in microseconds).
*
* @generated from field: optional int64 benchmark_start_time_us = 1;
*/
benchmarkStartTimeUs: bigint;
/**
* Time when this particular story was run (host unixtime in microseconds).
*
* @generated from field: optional int64 story_run_time_us = 2;
*/
storyRunTimeUs: bigint;
/**
* Name of benchmark.
*
* @generated from field: optional string benchmark_name = 3;
*/
benchmarkName: string;
/**
* Description of benchmark.
*
* @generated from field: optional string benchmark_description = 4;
*/
benchmarkDescription: string;
/**
* Optional label.
*
* @generated from field: optional string label = 5;
*/
label: string;
/**
* Name of story.
*
* @generated from field: optional string story_name = 6;
*/
storyName: string;
/**
* List of story tags.
*
* @generated from field: repeated string story_tags = 7;
*/
storyTags: string[];
/**
* Index of the story run (>0 if the same story was run several times).
*
* @generated from field: optional int32 story_run_index = 8;
*/
storyRunIndex: number;
/**
* Whether this run failed.
*
* @generated from field: optional bool had_failures = 9;
*/
hadFailures: boolean;
};
/**
* Describes the message perfetto.protos.ChromeBenchmarkMetadata.
* Use `create(ChromeBenchmarkMetadataSchema)` to create a new message.
*/
export declare const ChromeBenchmarkMetadataSchema: GenMessage<ChromeBenchmarkMetadata>;
//# sourceMappingURL=chrome_benchmark_metadata_pb.d.ts.map