summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Layer.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-01-28 22:31:55 -0800
committerMathias Agopian <mathias@google.com>2012-01-28 22:31:55 -0800
commit25e66fc324bbc004fa8902b2d4699e41bb601104 (patch)
tree803229d4893c657201f019c2739af56b189370d2 /services/surfaceflinger/Layer.h
parent751ecf24fd8e40f62d0b683779006a556f012503 (diff)
downloadframeworks_native-25e66fc324bbc004fa8902b2d4699e41bb601104.zip
frameworks_native-25e66fc324bbc004fa8902b2d4699e41bb601104.tar.gz
frameworks_native-25e66fc324bbc004fa8902b2d4699e41bb601104.tar.bz2
added a few more commands to SF's dumpsys
--latency-clear [name] clears the latency data for the specified layer or for all layers if none is specified --list prints the list of all layers regardless of their visibility Change-Id: I7c07ae020f838c173b98ee50f3fb3e93da78acbb
Diffstat (limited to 'services/surfaceflinger/Layer.h')
-rw-r--r--services/surfaceflinger/Layer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h
index b3fa5e7..2dd4da1 100644
--- a/services/surfaceflinger/Layer.h
+++ b/services/surfaceflinger/Layer.h
@@ -88,6 +88,7 @@ protected:
virtual void onFirstRef();
virtual void dump(String8& result, char* scratch, size_t size) const;
virtual void dumpStats(String8& result, char* buffer, size_t SIZE) const;
+ virtual void clearStats();
private:
friend class SurfaceTextureLayer;