summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfo.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2020-10-13 23:03:55 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-10-13 23:03:55 +0000
commit439b20b2c7f6b5e03b9e53dee61c8d6da57af47e (patch)
tree0a1ff3c8944c029de3f0e484e3253506ab7eba2c /libs/hwui/FrameInfo.cpp
parent7c4bea4b7012eb1f1aee359a8b8226efcbada986 (diff)
parentdfb13985aff33cda393ffefc0db3103443f3be49 (diff)
Merge "pass frame deadline to Choreographer"
Diffstat (limited to 'libs/hwui/FrameInfo.cpp')
-rw-r--r--libs/hwui/FrameInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/FrameInfo.cpp b/libs/hwui/FrameInfo.cpp
index 30ce5370760d..fd18d2f9192d 100644
--- a/libs/hwui/FrameInfo.cpp
+++ b/libs/hwui/FrameInfo.cpp
@@ -31,6 +31,7 @@ const std::string FrameInfoNames[] = {
"AnimationStart",
"PerformTraversalsStart",
"DrawStart",
+ "FrameDeadline",
"SyncQueued",
"SyncStart",
"IssueDrawCommandsStart",
@@ -45,7 +46,7 @@ static_assert((sizeof(FrameInfoNames) / sizeof(FrameInfoNames[0])) ==
static_cast<int>(FrameInfoIndex::NumIndexes),
"size mismatch: FrameInfoNames doesn't match the enum!");
-static_assert(static_cast<int>(FrameInfoIndex::NumIndexes) == 18,
+static_assert(static_cast<int>(FrameInfoIndex::NumIndexes) == 19,
"Must update value in FrameMetrics.java#FRAME_STATS_COUNT (and here)");
void FrameInfo::importUiThreadInfo(int64_t* info) {