Add duplicate frames counter metric
This metric tracks the amount of frames with same contents (pixels)
that have been submitted to the display for rendering.
Tracking Bug:
b/147010808
Kernel Side Collection:
pa/1470491
Test: Ran trace_processor_shell and it showed up the added metric.
Change-Id: I1ecff749714f786a9af2d3683519d1be00f05d77
Bug: 147010808
diff --git a/BUILD b/BUILD
index ddeab6c..9516ba8 100644
--- a/BUILD
+++ b/BUILD
@@ -712,6 +712,7 @@
"src/trace_processor/metrics/android/android_startup.sql",
"src/trace_processor/metrics/android/android_startup_launches.sql",
"src/trace_processor/metrics/android/android_task_state.sql",
+ "src/trace_processor/metrics/android/display_metrics.sql",
"src/trace_processor/metrics/android/heap_profile_callsites.sql",
"src/trace_processor/metrics/android/java_heap_histogram.sql",
"src/trace_processor/metrics/android/java_heap_stats.sql",
@@ -1910,6 +1911,7 @@
srcs = [
"protos/perfetto/metrics/android/batt_metric.proto",
"protos/perfetto/metrics/android/cpu_metric.proto",
+ "protos/perfetto/metrics/android/display_metrics.proto",
"protos/perfetto/metrics/android/heap_profile_callsites.proto",
"protos/perfetto/metrics/android/hwui_metric.proto",
"protos/perfetto/metrics/android/ion_metric.proto",