diff options
author | John Reck <jreck@google.com> | 2021-05-12 19:10:47 -0400 |
---|---|---|
committer | John Reck <jreck@google.com> | 2021-05-12 19:29:03 -0400 |
commit | 3920768c72240c11f7ff62e1a823142bb451ff82 (patch) | |
tree | 7766756c9fde387af03a34c7e43500e654782df2 /libs/hwui/renderthread/RenderProxy.h | |
parent | 8ae0654abd92ac4da12272f0618ae0ac992a63be (diff) |
More benchmark tweaks
Bug: 187718492
Test: this
Change-Id: Ie0cad91e1c7d1a02704fc4b1007ba2c28cb2b3e7
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.h')
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.h b/libs/hwui/renderthread/RenderProxy.h index 662b44505fa6..0681dc5e16be 100644 --- a/libs/hwui/renderthread/RenderProxy.h +++ b/libs/hwui/renderthread/RenderProxy.h @@ -98,6 +98,7 @@ public: void destroyHardwareResources(); static void trimMemory(int level); + static void purgeCaches(); static void overrideProperty(const char* name, const char* value); void fence(); @@ -110,6 +111,7 @@ public: void resetProfileInfo(); uint32_t frameTimePercentile(int p); static void dumpGraphicsMemory(int fd, bool includeProfileData = true); + static void getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage); static void rotateProcessStatsBuffer(); static void setProcessStatsBuffer(int fd); |