summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-07-06 13:49:58 -0700
committerJohn Reck <jreck@google.com>2015-07-06 16:12:46 -0700
commitbe3fba05e823f740f65b2679929347dc3dd282ad (patch)
tree8dfd52f0e6297d009dd7e671ac8187a7dfac6996 /libs/hwui/renderthread/DrawFrameTask.h
parenta559590043e32f670813e062f042f9e642297edf (diff)
Adjust for pipeline stalls
Bug: 20853441 Calculating duration that crosses the UI-RT sync point will now subtract out the time spent waiting in queue under the assumption that this time will be accounted for in the previous frame's metrics Change-Id: Ia8213f4410638840613f5ae439e98dfb77532a6a
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.h')
-rw-r--r--libs/hwui/renderthread/DrawFrameTask.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/DrawFrameTask.h b/libs/hwui/renderthread/DrawFrameTask.h
index 8039643623b6..ebefcba9f6a5 100644
--- a/libs/hwui/renderthread/DrawFrameTask.h
+++ b/libs/hwui/renderthread/DrawFrameTask.h
@@ -85,6 +85,7 @@ private:
std::vector< sp<DeferredLayerUpdater> > mLayers;
int mSyncResult;
+ int64_t mSyncQueued;
int64_t mFrameInfo[UI_THREAD_FRAME_INFO_SIZE];
};