/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReaderDiff.java | 245 private static int totalCpuUsage(int[] cpuUsage) { in totalCpuUsage() argument 247 for (int i = 0; i < cpuUsage.length; i++) { in totalCpuUsage() 248 total += cpuUsage[i]; in totalCpuUsage()
|
D | LooperStats.java | 109 final long cpuUsage = getThreadTimeMicro() - session.cpuStartMicro; in messageDispatched() local 112 entry.cpuUsageMicro += cpuUsage; in messageDispatched() 113 entry.maxCpuUsageMicro = Math.max(entry.maxCpuUsageMicro, cpuUsage); in messageDispatched()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 93 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()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CacheManager.cpp | 171 void CacheManager::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) { in getMemoryUsage() argument 172 *cpuUsage = 0; in getMemoryUsage() 180 *cpuUsage += cpuTracer.total(); in getMemoryUsage()
|
D | CacheManager.h | 54 void getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage);
|
D | RenderProxy.h | 126 static void getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage);
|
D | RenderThread.cpp | 373 void RenderThread::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) { in getMemoryUsage() argument 374 mCacheManager->getMemoryUsage(cpuUsage, gpuUsage); in getMemoryUsage()
|
D | RenderThread.h | 161 void getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage);
|
D | RenderProxy.cpp | 344 void RenderProxy::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) { in getMemoryUsage() argument 347 thread.queue().runSync([&]() { thread.getMemoryUsage(cpuUsage, gpuUsage); }); in getMemoryUsage()
|
/frameworks/base/libs/hwui/platform/host/renderthread/ |
D | CacheManager.cpp | 36 void CacheManager::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) {} in getMemoryUsage() argument
|
D | RenderThread.cpp | 88 void RenderThread::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) {} in getMemoryUsage() argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderDiffTest.java | 290 int[] cpuUsage = cpuUsageMillis[i]; in createProcess() local 292 new KernelCpuThreadReader.ThreadCpuUsage(0, "thread" + i, cpuUsage)); in createProcess()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_HardwarePropertiesManagerService.cpp | 348 jobject cpuUsage = env->NewObject(gCpuUsageInfoClassInfo.clazz, in nativeGetCpuUsages() local 352 env->SetObjectArrayElement(cpuUsages, i, cpuUsage); in nativeGetCpuUsages()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 2635 uint64_t cpuUsage = 0; in android_media_MediaCodec_mapHardwareBuffer() local 2636 cpuUsage |= (desc.usage & AHARDWAREBUFFER_USAGE_CPU_READ_MASK); in android_media_MediaCodec_mapHardwareBuffer() 2637 cpuUsage |= (desc.usage & AHARDWAREBUFFER_USAGE_CPU_WRITE_MASK); in android_media_MediaCodec_mapHardwareBuffer() 2641 hardwareBuffer, cpuUsage, -1 /* fence */, nullptr /* rect */, &planes); in android_media_MediaCodec_mapHardwareBuffer()
|