Home
last modified time | relevance | path

Searched refs:gpuUsage (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp93 size_t cpuUsage, gpuUsage; in outputBenchmarkReport() local
94 RenderProxy::getMemoryUsage(&cpuUsage, &gpuUsage); in outputBenchmarkReport()
95 report.counters["Rendering RAM"] = Counter{static_cast<double>(cpuUsage + gpuUsage), in outputBenchmarkReport()
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DCacheManager.cpp169 void CacheManager::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) { in getMemoryUsage() argument
171 *gpuUsage = 0; in getMemoryUsage()
182 *gpuUsage += gpuTracer.total(); in getMemoryUsage()
H A DCacheManager.h54 void getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage);
H A DRenderProxy.h125 static void getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage);
H A DRenderThread.cpp363 void RenderThread::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) { in getMemoryUsage() argument
364 mCacheManager->getMemoryUsage(cpuUsage, gpuUsage); in getMemoryUsage()
H A DRenderThread.h164 void getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage);
H A DRenderProxy.cpp328 void RenderProxy::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) { in getMemoryUsage() argument
331 thread.queue().runSync([&]() { thread.getMemoryUsage(cpuUsage, gpuUsage); }); in getMemoryUsage()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppProfiler.java1773 final long gpuUsage = Debug.getGpuTotalUsageKb(); in reportMemUsage() local
1774 if (gpuUsage >= 0) { in reportMemUsage()
1777 final long gpuDmaBufUsage = gpuUsage - gpuPrivateUsage; in reportMemUsage()
1779 memInfoBuilder.append(stringifyKBSize(gpuUsage)); in reportMemUsage()
1791 memInfoBuilder.append(stringifyKBSize(gpuUsage)); in reportMemUsage()
H A DActivityManagerService.java12420 final long gpuUsage = Debug.getGpuTotalUsageKb(); in dumpApplicationMemoryUsage() local
12421 if (gpuUsage >= 0) { in dumpApplicationMemoryUsage()
12424 final long gpuDmaBufUsage = gpuUsage - gpuPrivateUsage; in dumpApplicationMemoryUsage()
12426 pw.print(stringifyKBSize(gpuUsage)); in dumpApplicationMemoryUsage()
12437 pw.print(" GPU: "); pw.println(stringifyKBSize(gpuUsage)); in dumpApplicationMemoryUsage()