aboutsummaryrefslogtreecommitdiff
path: root/protos/perfetto/metrics/android/powrails_metric.proto
diff options
context:
space:
mode:
Diffstat (limited to 'protos/perfetto/metrics/android/powrails_metric.proto')
-rw-r--r--protos/perfetto/metrics/android/powrails_metric.proto40
1 files changed, 0 insertions, 40 deletions
diff --git a/protos/perfetto/metrics/android/powrails_metric.proto b/protos/perfetto/metrics/android/powrails_metric.proto
deleted file mode 100644
index df0823f23..000000000
--- a/protos/perfetto/metrics/android/powrails_metric.proto
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2019 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-syntax = "proto2";
-option optimize_for = LITE_RUNTIME;
-
-package perfetto.protos;
-
-message AndroidPowerRails {
- // Energy data per Power Rail at given ts.
- message EnergyData {
- // Time since device boot(CLOCK_BOTTOMTIME) in milli-seconds.
- optional int64 timestamp_ms = 1;
- // Accumulated energy since device boot in microwatt-seconds(uws).
- optional double energy_uws = 2;
- }
-
- message PowerRails {
- // Name of the rail.
- optional string name = 1;
- // Energy data for given rail and for all samples in the trace.
- repeated EnergyData energy_data = 2;
- }
-
- // Energy data per Power Rail.
- repeated PowerRails power_rails = 1;
-} \ No newline at end of file