summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/SurfaceFlinger.h
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-08-26 17:40:56 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-08-26 17:40:56 -0700
commit205c34b02f66bc6e1596e23868c4ecf57724d0e5 (patch)
treed5d82843e6f352ddee5127025da8b06be250e42e /libs/surfaceflinger/SurfaceFlinger.h
parent0033bfa79c385377f7bca8a11c09b2c3507a4d61 (diff)
parent9795c42e557cfa37b9fd353ef7a2a7977a77f504 (diff)
Merge change 22841 into eclair
* changes: dumpsys SurfaceFlinger will now always dump SF's state, even if SF is deadlocked (in this case the state is dumped without the proper locks held which could result to a crash)
Diffstat (limited to 'libs/surfaceflinger/SurfaceFlinger.h')
-rw-r--r--libs/surfaceflinger/SurfaceFlinger.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaceflinger/SurfaceFlinger.h b/libs/surfaceflinger/SurfaceFlinger.h
index 56ea97a4b5..69e2f2ebf3 100644
--- a/libs/surfaceflinger/SurfaceFlinger.h
+++ b/libs/surfaceflinger/SurfaceFlinger.h
@@ -348,6 +348,10 @@ private:
// don't use a lock for these, we don't care
int mDebugRegion;
int mDebugBackground;
+ volatile nsecs_t mDebugInSwapBuffers;
+ nsecs_t mLastSwapBufferTime;
+ volatile nsecs_t mDebugInTransaction;
+ nsecs_t mLastTransactionTime;
// these are thread safe
mutable Barrier mReadyToRunBarrier;