summaryrefslogtreecommitdiff
path: root/libs/hwui/ProfileData.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2018-03-19 14:06:16 -0700
committerJohn Reck <jreck@google.com>2018-03-19 16:36:32 -0700
commit0e4864725aaca48a289ae1e0237377ed5b135f7a (patch)
tree1fd7778910c7fcd80f995b6e7b2e90a809febede /libs/hwui/ProfileData.cpp
parentdba47fcd09a50bdddcf6509d0766dfca3a5d39a7 (diff)
Revert "Revert "Break down jank between frame drops vs. triple buffered""
This reverts commit a6d8fbf4ea634f5f605b2b7db3ca98975f8625b5. Fixes an out-of-bounds read in COMPARISONS by switching up how comparisons works. Instead of requiring all jank types to have an associated COMPARISON's entry, which kHighInputLatency and kMissedDeadline don't, instead have each COMPARISON indicate which JankType it applies to so it can be independently sized from JankTypes. Bug: 70220906 Bug: 75566601 Test: launching & using maps works Change-Id: I7fd90daeb320b4627e42c3418c89726d860998c1
Diffstat (limited to 'libs/hwui/ProfileData.cpp')
-rw-r--r--libs/hwui/ProfileData.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/ProfileData.cpp b/libs/hwui/ProfileData.cpp
index b392ecdde18f..f9cf54998032 100644
--- a/libs/hwui/ProfileData.cpp
+++ b/libs/hwui/ProfileData.cpp
@@ -23,8 +23,7 @@ namespace uirenderer {
static const char* JANK_TYPE_NAMES[] = {
"Missed Vsync", "High input latency", "Slow UI thread",
- "Slow bitmap uploads", "Slow issue draw commands",
-};
+ "Slow bitmap uploads", "Slow issue draw commands", "Frame deadline missed"};
// The bucketing algorithm controls so to speak
// If a frame is <= to this it goes in bucket 0