Add has_high_latency field for chrome_frame_reporter
To analyze the performance of chromium, add has_high_latency in
chrome_frame_reporter to note when the total latency exceeds a certain
limit.
Bug: chromium:1332345
Change-Id: Iaa60e07ba294988356265a6f4dfccf6007a2b6f0
diff --git a/protos/perfetto/trace/perfetto_trace.proto b/protos/perfetto/trace/perfetto_trace.proto
index c3c30ef..b998666 100644
--- a/protos/perfetto/trace/perfetto_trace.proto
+++ b/protos/perfetto/trace/perfetto_trace.proto
@@ -7795,6 +7795,9 @@
// The id of layer_tree_host that the frame has been produced for.
optional uint64 layer_tree_host_id = 11;
+
+ // If total latency of PipelineReporter exceeds a certain limit.
+ optional bool has_high_latency = 12;
}
// End of protos/perfetto/trace/track_event/chrome_frame_reporter.proto
diff --git a/protos/perfetto/trace/track_event/chrome_frame_reporter.proto b/protos/perfetto/trace/track_event/chrome_frame_reporter.proto
index f1165a8..92314a5 100644
--- a/protos/perfetto/trace/track_event/chrome_frame_reporter.proto
+++ b/protos/perfetto/trace/track_event/chrome_frame_reporter.proto
@@ -94,4 +94,7 @@
// The id of layer_tree_host that the frame has been produced for.
optional uint64 layer_tree_host_id = 11;
+
+ // If total latency of PipelineReporter exceeds a certain limit.
+ optional bool has_high_latency = 12;
}