Add long latency metric for graphics smoothness alert
As part of the effort of adding Chrome graphics smoothness alert in
Perfetto, this CL implements the long latency metric that detects input
events that could potentially cause smoothness issues.
Bug: 225926753
Change-Id: Ia7960cefa8d4baa1c105dae53a57de21f27e523a
diff --git a/Android.bp b/Android.bp
index f3ebaa9..851dd94 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3707,6 +3707,7 @@
"protos/perfetto/metrics/chrome/blink_gc_metric.proto",
"protos/perfetto/metrics/chrome/dropped_frames.proto",
"protos/perfetto/metrics/chrome/frame_times.proto",
+ "protos/perfetto/metrics/chrome/long_latency.proto",
"protos/perfetto/metrics/chrome/media_metric.proto",
"protos/perfetto/metrics/chrome/reported_by_page.proto",
"protos/perfetto/metrics/chrome/scroll_jank.proto",
@@ -8220,6 +8221,7 @@
"src/trace_processor/metrics/sql/chrome/touch_jank.sql",
"src/trace_processor/metrics/sql/experimental/blink_gc_metric.sql",
"src/trace_processor/metrics/sql/experimental/chrome_dropped_frames.sql",
+ "src/trace_processor/metrics/sql/experimental/chrome_long_latency.sql",
"src/trace_processor/metrics/sql/experimental/frame_times.sql",
"src/trace_processor/metrics/sql/experimental/media_metric.sql",
"src/trace_processor/metrics/sql/experimental/reported_by_page.sql",