Searched refs:cpuUsage (Results 1 – 4 of 4) sorted by relevance
243 private static int totalCpuUsage(int[] cpuUsage) { in totalCpuUsage() argument245 for (int i = 0; i < cpuUsage.length; i++) { in totalCpuUsage()246 total += cpuUsage[i]; in totalCpuUsage()
106 final long cpuUsage = getThreadTimeMicro() - session.cpuStartMicro; in messageDispatched() local109 entry.cpuUsageMicro += cpuUsage; in messageDispatched()110 entry.maxCpuUsageMicro = Math.max(entry.maxCpuUsageMicro, cpuUsage); in messageDispatched()
226 jobject cpuUsage = env->NewObject(gCpuUsageInfoClassInfo.clazz, in nativeGetCpuUsages() local230 env->SetObjectArrayElement(cpuUsages, i, cpuUsage); in nativeGetCpuUsages()
284 int[] cpuUsage = cpuUsageMillis[i]; in createProcess() local286 new KernelCpuThreadReader.ThreadCpuUsage(0, "thread" + i, cpuUsage)); in createProcess()