Searched refs:threadCpuUsages (Results 1 – 6 of 6) sorted by relevance
166 for (int j = 0; j < processCpuUsage.threadCpuUsages.size(); j++) { in createCpuUsageMap()168 processCpuUsage.threadCpuUsages.get(j); in createCpuUsageMap()191 for (int i = 0; i < processCpuUsage.threadCpuUsages.size(); i++) { in changeToDiffs()193 processCpuUsage.threadCpuUsages.get(i); in changeToDiffs()222 for (int i = 0; i < processCpuUsage.threadCpuUsages.size(); i++) { in applyThresholding()224 processCpuUsage.threadCpuUsages.get(i); in applyThresholding()239 processCpuUsage.threadCpuUsages = thresholded; in applyThresholding()
270 final ArrayList<ThreadCpuUsage> threadCpuUsages = new ArrayList<>(); in getProcessCpuUsage() local277 threadCpuUsages.add(threadCpuUsage); in getProcessCpuUsage()285 if (threadCpuUsages.isEmpty()) { in getProcessCpuUsage()289 Slog.d(TAG, "Read CPU usage of " + threadCpuUsages.size() + " threads"); in getProcessCpuUsage()291 return new ProcessCpuUsage(processId, getProcessName(processPath), uid, threadCpuUsages); in getProcessCpuUsage()522 public ArrayList<ThreadCpuUsage> threadCpuUsages; field in KernelCpuThreadReader.ProcessCpuUsage529 ArrayList<ThreadCpuUsage> threadCpuUsages) { in ProcessCpuUsage() argument533 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()
1883 ArrayList<KernelCpuThreadReader.ThreadCpuUsage> threadCpuUsages = in pullCpuTimePerThreadFreq() local1884 processCpuUsage.threadCpuUsages; in pullCpuTimePerThreadFreq()1885 for (int j = 0; j < threadCpuUsages.size(); j++) { in pullCpuTimePerThreadFreq()1886 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = threadCpuUsages.get(j); in pullCpuTimePerThreadFreq()