perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
203 lines • 7.64 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/metrics/android/wattson_in_time_period.proto.
*/
export declare const file_protos_perfetto_metrics_android_wattson_in_time_period: GenFile;
/**
* @generated from message perfetto.protos.AndroidWattsonTimePeriodMetric
*/
export type AndroidWattsonTimePeriodMetric = Message<"perfetto.protos.AndroidWattsonTimePeriodMetric"> & {
/**
* Each version increment means updated structure format or field
*
* @generated from field: optional int32 metric_version = 1;
*/
metricVersion: number;
/**
* Each version increment means power model has been updated and estimates
* might change for the exact same input. Don't compare estimates across
* different power model versions.
*
* @generated from field: optional int32 power_model_version = 2;
*/
powerModelVersion: number;
/**
* @generated from field: repeated perfetto.protos.AndroidWattsonEstimateInfo period_info = 3;
*/
periodInfo: AndroidWattsonEstimateInfo[];
};
/**
* Describes the message perfetto.protos.AndroidWattsonTimePeriodMetric.
* Use `create(AndroidWattsonTimePeriodMetricSchema)` to create a new message.
*/
export declare const AndroidWattsonTimePeriodMetricSchema: GenMessage<AndroidWattsonTimePeriodMetric>;
/**
* @generated from message perfetto.protos.AndroidWattsonEstimateInfo
*/
export type AndroidWattsonEstimateInfo = Message<"perfetto.protos.AndroidWattsonEstimateInfo"> & {
/**
* @generated from field: optional int32 period_id = 1;
*/
periodId: number;
/**
* @generated from field: optional string period_name = 2;
*/
periodName: string;
/**
* @generated from field: optional int64 period_dur = 3;
*/
periodDur: bigint;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuSubsystemEstimate cpu_subsystem = 4;
*/
cpuSubsystem?: AndroidWattsonCpuSubsystemEstimate;
};
/**
* Describes the message perfetto.protos.AndroidWattsonEstimateInfo.
* Use `create(AndroidWattsonEstimateInfoSchema)` to create a new message.
*/
export declare const AndroidWattsonEstimateInfoSchema: GenMessage<AndroidWattsonEstimateInfo>;
/**
* @generated from message perfetto.protos.AndroidWattsonCpuSubsystemEstimate
*/
export type AndroidWattsonCpuSubsystemEstimate = Message<"perfetto.protos.AndroidWattsonCpuSubsystemEstimate"> & {
/**
* estimates and estimates of subrails
*
* @generated from field: optional float estimated_mw = 1;
*/
estimatedMw: number;
/**
* @generated from field: optional float estimated_mws = 2;
*/
estimatedMws: number;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonPolicyEstimate policy0 = 3;
*/
policy0?: AndroidWattsonPolicyEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonPolicyEstimate policy1 = 4;
*/
policy1?: AndroidWattsonPolicyEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonPolicyEstimate policy2 = 5;
*/
policy2?: AndroidWattsonPolicyEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonPolicyEstimate policy3 = 6;
*/
policy3?: AndroidWattsonPolicyEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonPolicyEstimate policy4 = 7;
*/
policy4?: AndroidWattsonPolicyEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonPolicyEstimate policy5 = 8;
*/
policy5?: AndroidWattsonPolicyEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonPolicyEstimate policy6 = 9;
*/
policy6?: AndroidWattsonPolicyEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonPolicyEstimate policy7 = 10;
*/
policy7?: AndroidWattsonPolicyEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonDsuScuEstimate dsu_scu = 11;
*/
dsuScu?: AndroidWattsonDsuScuEstimate;
};
/**
* Describes the message perfetto.protos.AndroidWattsonCpuSubsystemEstimate.
* Use `create(AndroidWattsonCpuSubsystemEstimateSchema)` to create a new message.
*/
export declare const AndroidWattsonCpuSubsystemEstimateSchema: GenMessage<AndroidWattsonCpuSubsystemEstimate>;
/**
* @generated from message perfetto.protos.AndroidWattsonPolicyEstimate
*/
export type AndroidWattsonPolicyEstimate = Message<"perfetto.protos.AndroidWattsonPolicyEstimate"> & {
/**
* @generated from field: optional float estimated_mw = 1;
*/
estimatedMw: number;
/**
* @generated from field: optional float estimated_mws = 2;
*/
estimatedMws: number;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuEstimate cpu0 = 3;
*/
cpu0?: AndroidWattsonCpuEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuEstimate cpu1 = 4;
*/
cpu1?: AndroidWattsonCpuEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuEstimate cpu2 = 5;
*/
cpu2?: AndroidWattsonCpuEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuEstimate cpu3 = 6;
*/
cpu3?: AndroidWattsonCpuEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuEstimate cpu4 = 7;
*/
cpu4?: AndroidWattsonCpuEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuEstimate cpu5 = 8;
*/
cpu5?: AndroidWattsonCpuEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuEstimate cpu6 = 9;
*/
cpu6?: AndroidWattsonCpuEstimate;
/**
* @generated from field: optional perfetto.protos.AndroidWattsonCpuEstimate cpu7 = 10;
*/
cpu7?: AndroidWattsonCpuEstimate;
};
/**
* Describes the message perfetto.protos.AndroidWattsonPolicyEstimate.
* Use `create(AndroidWattsonPolicyEstimateSchema)` to create a new message.
*/
export declare const AndroidWattsonPolicyEstimateSchema: GenMessage<AndroidWattsonPolicyEstimate>;
/**
* @generated from message perfetto.protos.AndroidWattsonCpuEstimate
*/
export type AndroidWattsonCpuEstimate = Message<"perfetto.protos.AndroidWattsonCpuEstimate"> & {
/**
* @generated from field: optional float estimated_mw = 1;
*/
estimatedMw: number;
/**
* @generated from field: optional float estimated_mws = 2;
*/
estimatedMws: number;
};
/**
* Describes the message perfetto.protos.AndroidWattsonCpuEstimate.
* Use `create(AndroidWattsonCpuEstimateSchema)` to create a new message.
*/
export declare const AndroidWattsonCpuEstimateSchema: GenMessage<AndroidWattsonCpuEstimate>;
/**
* @generated from message perfetto.protos.AndroidWattsonDsuScuEstimate
*/
export type AndroidWattsonDsuScuEstimate = Message<"perfetto.protos.AndroidWattsonDsuScuEstimate"> & {
/**
* @generated from field: optional float estimated_mw = 1;
*/
estimatedMw: number;
/**
* @generated from field: optional float estimated_mws = 2;
*/
estimatedMws: number;
};
/**
* Describes the message perfetto.protos.AndroidWattsonDsuScuEstimate.
* Use `create(AndroidWattsonDsuScuEstimateSchema)` to create a new message.
*/
export declare const AndroidWattsonDsuScuEstimateSchema: GenMessage<AndroidWattsonDsuScuEstimate>;
//# sourceMappingURL=wattson_in_time_period_pb.d.ts.map