• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* Note: If making any changes to this file be sure to generate a new
2   compiled *_pb2.py file by running the following command from the same dir:
3   $ protoc -I=. --python_out=. power_metric.proto
4
5   Be sure that you are compiling with protoc 3.4.0
6
7   More info can be found at:
8   https://developers.google.com/protocol-buffers/docs/pythontutorial
9*/
10
11syntax = "proto2";
12
13package wireless.android.platform.testing.power.metrics;
14
15/*
16  Power metrics to be uploaded to Spanner
17*/
18message PowerMetric {
19  optional float avg_power = 1; // Required
20  optional string testbed = 2; // Required
21  optional PowerCellularMetric cellular_metric = 3;
22  optional string branch = 4;
23  optional string build_id = 5;
24  optional string target = 6;
25  optional float avg_current = 7;
26  optional float voltage = 8;
27  optional string test_suite_display_name = 9;
28  optional string test_case_display_name = 10;
29  optional string incremental_build_id = 11;
30  optional float avg_current_threshold = 12;
31  optional string pass_fail_status = 13;
32}
33
34message PowerCellularMetric {
35  optional float avg_dl_tput = 1;
36  optional float avg_ul_tput = 2;
37  optional float avg_dl_tput_threshold = 3;
38  optional float avg_ul_tput_threshold = 4;
39}
40