Searched refs:threadCpuUsages (Results 1 – 6 of 6) sorted by relevance
168 for (int j = 0; j < processCpuUsage.threadCpuUsages.size(); j++) { in createCpuUsageMap()170 processCpuUsage.threadCpuUsages.get(j); in createCpuUsageMap()193 for (int i = 0; i < processCpuUsage.threadCpuUsages.size(); i++) { in changeToDiffs()195 processCpuUsage.threadCpuUsages.get(i); in changeToDiffs()224 for (int i = 0; i < processCpuUsage.threadCpuUsages.size(); i++) { in applyThresholding()226 processCpuUsage.threadCpuUsages.get(i); in applyThresholding()241 processCpuUsage.threadCpuUsages = thresholded; in applyThresholding()
274 final ArrayList<ThreadCpuUsage> threadCpuUsages = new ArrayList<>(); in getProcessCpuUsage() local281 threadCpuUsages.add(threadCpuUsage); in getProcessCpuUsage()289 if (threadCpuUsages.isEmpty()) { in getProcessCpuUsage()293 Slog.d(TAG, "Read CPU usage of " + threadCpuUsages.size() + " threads"); in getProcessCpuUsage()295 return new ProcessCpuUsage(processId, getProcessName(processPath), uid, threadCpuUsages); in getProcessCpuUsage()533 public ArrayList<ThreadCpuUsage> threadCpuUsages; field in KernelCpuThreadReader.ProcessCpuUsage540 ArrayList<ThreadCpuUsage> threadCpuUsages) { in ProcessCpuUsage() argument544 this.threadCpuUsages = threadCpuUsages; in ProcessCpuUsage()
141 final List<ThreadCpuUsage> threadCpuUsages = in getAverageWorkTime() local142 currentProcessCpuUsage.get().threadCpuUsages.stream() in getAverageWorkTime()147 numSamples, threadCpuUsages.size()); in getAverageWorkTime()150 final OptionalDouble averageWorkTimeMillis = threadCpuUsages.stream() in getAverageWorkTime()
282 ArrayList<KernelCpuThreadReader.ThreadCpuUsage> threadCpuUsages = new ArrayList<>(); in createProcess() local285 threadCpuUsages.add( in createProcess()291 0, "process", 0, threadCpuUsages))); in createProcess()297 .flatMap(p -> p.threadCpuUsages.stream()) in cpuUsages()305 .flatMap(p -> p.threadCpuUsages.stream()) in threadNames()
145 assertEquals(threadIds.length, processCpuUsage.threadCpuUsages.size()); in checkResults()148 final ArrayList<KernelCpuThreadReader.ThreadCpuUsage> threadCpuUsages = in checkResults() local149 new ArrayList<>(processCpuUsage.threadCpuUsages); in checkResults()150 threadCpuUsages.sort(Comparator.comparingInt(a -> a.threadId)); in checkResults()153 for (KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage : threadCpuUsages) { in checkResults()
3229 ArrayList<KernelCpuThreadReader.ThreadCpuUsage> threadCpuUsages =3230 processCpuUsage.threadCpuUsages;3231 for (int j = 0; j < threadCpuUsages.size(); j++) {3232 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = threadCpuUsages.get(j);