summaryrefslogtreecommitdiff
path: root/libs/hwui/JankTracker.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2018-03-12 17:14:53 -0700
committerJohn Reck <jreck@google.com>2018-03-14 15:00:05 -0700
commit09979fbee7201b46158c2c033194529e4284ea13 (patch)
treec86118e20004c9b9bd93f22171f6b4984fcbcef2 /libs/hwui/JankTracker.h
parentc1756316708216a0cef3394b8751a9d35dd30e1b (diff)
Break down jank between frame drops vs. triple buffered
Bug: 70220906 Test: JankyScene vs. systrace vs. jankstats Change-Id: Ia012685020cc5bcabbd3f92f0bdeb84eaf50733d
Diffstat (limited to 'libs/hwui/JankTracker.h')
-rw-r--r--libs/hwui/JankTracker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/JankTracker.h b/libs/hwui/JankTracker.h
index dc6a7ff5ddb7..110211eda23a 100644
--- a/libs/hwui/JankTracker.h
+++ b/libs/hwui/JankTracker.h
@@ -75,6 +75,7 @@ private:
std::array<int64_t, NUM_BUCKETS> mThresholds;
int64_t mFrameInterval;
+ nsecs_t mSwapDeadline;
// The amount of time we will erase from the total duration to account
// for SF vsync offsets with HWC2 blocking dequeueBuffers.
// (Vsync + mDequeueBlockTolerance) is the point at which we expect