Home
last modified time | relevance | path

Searched refs:cpuUsage (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReaderDiff.java243 private static int totalCpuUsage(int[] cpuUsage) { in totalCpuUsage() argument
245 for (int i = 0; i < cpuUsage.length; i++) { in totalCpuUsage()
246 total += cpuUsage[i]; in totalCpuUsage()
DLooperStats.java106 final long cpuUsage = getThreadTimeMicro() - session.cpuStartMicro; in messageDispatched() local
109 entry.cpuUsageMicro += cpuUsage; in messageDispatched()
110 entry.maxCpuUsageMicro = Math.max(entry.maxCpuUsageMicro, cpuUsage); in messageDispatched()
/frameworks/base/services/core/jni/
Dcom_android_server_HardwarePropertiesManagerService.cpp226 jobject cpuUsage = env->NewObject(gCpuUsageInfoClassInfo.clazz, in nativeGetCpuUsages() local
230 env->SetObjectArrayElement(cpuUsages, i, cpuUsage); in nativeGetCpuUsages()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderDiffTest.java284 int[] cpuUsage = cpuUsageMillis[i]; in createProcess() local
286 new KernelCpuThreadReader.ThreadCpuUsage(0, "thread" + i, cpuUsage)); in createProcess()