Merge "Add atom for a janky event reported by SurfaceFlinger." into rvc-dev

am: 28a0b857f4

Change-Id: I6ec4b9c5b58c4fc58bafbf53bdddcaa7afe67b0d
This commit is contained in:
Alec Mouri
2020-02-27 12:23:16 -08:00
committed by android-build-merger

View File

@@ -395,6 +395,7 @@ message Atom {
SnapshotMergeReported snapshot_merge_reported = 255;
ForegroundServiceAppOpSessionEnded foreground_service_app_op_session_ended =
256 [(module) = "framework"];
DisplayJankReported display_jank_reported = 257;
SdkExtensionStatus sdk_extension_status = 354;
}
@@ -8238,6 +8239,22 @@ message FrameTimingHistogram {
repeated int64 frame_counts = 2;
}
/**
* Janky event as reported by SurfaceFlinger.
* This event is intended to be consumed by a Perfetto subscriber for
* automated trace collection.
*
* Logged from:
* frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
*/
message DisplayJankReported {
// Informational field for how long the janky event lasted in milliseconds
optional int64 event_duration_millis = 1;
// Number of frame deadlines missed, where SurfaceFlinger failed to update
// the display on time.
optional int32 present_deadlines_missed = 2;
}
/**
* Information about camera facing and API level usage.
* Logged from: