Define HWUI rendering metrics
Define health metrics for HWUI RenderThread and UI thread:
graphics memory usage, shader compilation time, DrawFrame,
canvas flush, prepareTree, GPU completion, canvas recording.
Bug: 146588401
Test: Ran trace_processor_shell --run-metrics=android_hwui_metric --metrics-output=json trace
Change-Id: Iee99dc0d48d45886fb96633445874cc93d45600b
diff --git a/BUILD b/BUILD
index 0cc3c33..ba93c0b 100644
--- a/BUILD
+++ b/BUILD
@@ -672,6 +672,7 @@
"src/trace_processor/metrics/android/android_batt.sql",
"src/trace_processor/metrics/android/android_cpu.sql",
"src/trace_processor/metrics/android/android_cpu_agg.sql",
+ "src/trace_processor/metrics/android/android_hwui_metric.sql",
"src/trace_processor/metrics/android/android_ion.sql",
"src/trace_processor/metrics/android/android_lmk.sql",
"src/trace_processor/metrics/android/android_lmk_reason.sql",
@@ -1772,6 +1773,7 @@
"protos/perfetto/metrics/android/batt_metric.proto",
"protos/perfetto/metrics/android/cpu_metric.proto",
"protos/perfetto/metrics/android/heap_profile_callsites.proto",
+ "protos/perfetto/metrics/android/hwui_metric.proto",
"protos/perfetto/metrics/android/ion_metric.proto",
"protos/perfetto/metrics/android/java_heap_stats.proto",
"protos/perfetto/metrics/android/lmk_metric.proto",