Add metric and derived events for dropped frames
This CL adds the experimental dropped frame metric, and a derived event
track for this metric.
Currently dropped frames from different Renderer processes are shown in
a single track. Future updates will separate the dropped frame events
into different tracks by the frames' origin process.
Bug: 204465880
Change-Id: Ia9c71a385e8d49089efd7f60872e7d78c6bb8806
diff --git a/BUILD b/BUILD
index 92c665a..f37aaa5 100644
--- a/BUILD
+++ b/BUILD
@@ -1099,6 +1099,7 @@
"src/trace_processor/metrics/chrome/touch_flow_event_queuing_delay.sql",
"src/trace_processor/metrics/chrome/touch_jank.sql",
"src/trace_processor/metrics/experimental/blink_gc_metric.sql",
+ "src/trace_processor/metrics/experimental/chrome_dropped_frames.sql",
"src/trace_processor/metrics/experimental/frame_times.sql",
"src/trace_processor/metrics/experimental/media_metric.sql",
"src/trace_processor/metrics/experimental/reported_by_page.sql",
@@ -2606,6 +2607,7 @@
srcs = [
"protos/perfetto/metrics/chrome/all_chrome_metrics.proto",
"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/media_metric.proto",
"protos/perfetto/metrics/chrome/reported_by_page.proto",