Home
last modified time | relevance | path

Searched refs:usageTimesMillis (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReaderDiff.java175 threadCpuUsage.usageTimesMillis); in createCpuUsageMap()
203 previous = new int[threadCpuUsage.usageTimesMillis.length]; in changeToDiffs()
205 threadCpuUsage.usageTimesMillis = in changeToDiffs()
206 cpuTimeDiff(threadCpuUsage.usageTimesMillis, previous); in changeToDiffs()
225 if (mMinimumTotalCpuUsageMillis > totalCpuUsage(threadCpuUsage.usageTimesMillis)) { in applyThresholding()
227 filteredThreadsCpuUsage = new int[threadCpuUsage.usageTimesMillis.length]; in applyThresholding()
229 addToCpuUsage(filteredThreadsCpuUsage, threadCpuUsage.usageTimesMillis); in applyThresholding()
DKernelCpuThreadReader.java541 public int[] usageTimesMillis; field in KernelCpuThreadReader.ThreadCpuUsage
544 public ThreadCpuUsage(int threadId, String threadName, int[] usageTimesMillis) { in ThreadCpuUsage() argument
547 this.usageTimesMillis = usageTimesMillis; in ThreadCpuUsage()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderTest.java157 for (int i = 0; i < threadCpuUsage.usageTimesMillis.length; i++) { in checkResults()
160 threadCpuUsage.usageTimesMillis[i]); in checkResults()
DKernelCpuThreadReaderEndToEndTest.java151 .mapToDouble((t) -> Arrays.stream(t.usageTimesMillis).sum()) in getAverageWorkTime()
DKernelCpuThreadReaderDiffTest.java298 .map(t -> Arrays.stream(t.usageTimesMillis).boxed().collect(toList())) in cpuUsages()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1847 if (threadCpuUsage.usageTimesMillis.length != cpuFrequencies.length) { in pullCpuTimePerThreadFreq()
1850 + " but got " + threadCpuUsage.usageTimesMillis.length; in pullCpuTimePerThreadFreq()
1865 e.writeInt(threadCpuUsage.usageTimesMillis[k]); in pullCpuTimePerThreadFreq()