Home
last modified time | relevance | path

Searched refs:ThreadCpuUsage (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp37 bool ThreadCpuUsage::setEnabled(bool isEnabled) in setEnabled()
82 bool ThreadCpuUsage::sampleAndEnable(double& ns) in sampleAndEnable()
102 bool ThreadCpuUsage::sample(double &ns) in sample()
133 long long ThreadCpuUsage::elapsed() const in elapsed()
156 void ThreadCpuUsage::resetElapsed() in resetElapsed()
170 int ThreadCpuUsage::sScalingFds[ThreadCpuUsage::MAX_CPU];
171 pthread_once_t ThreadCpuUsage::sOnceControl = PTHREAD_ONCE_INIT;
172 int ThreadCpuUsage::sKernelMax;
173 pthread_mutex_t ThreadCpuUsage::sMutex = PTHREAD_MUTEX_INITIALIZER;
176 void ThreadCpuUsage::init() in init()
[all …]
DAndroid.bp6 "ThreadCpuUsage.cpp",
/frameworks/av/media/libcpustats/include/cpustats/
DThreadCpuUsage.h37 class ThreadCpuUsage
41 ThreadCpuUsage() : in ThreadCpuUsage() function
55 ~ThreadCpuUsage() { } in ~ThreadCpuUsage()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java270 final ArrayList<ThreadCpuUsage> threadCpuUsages = new ArrayList<>(); in getProcessCpuUsage()
273 ThreadCpuUsage threadCpuUsage = getThreadCpuUsage(threadDirectory); in getProcessCpuUsage()
302 private ThreadCpuUsage getThreadCpuUsage(Path threadDirectory) { in getThreadCpuUsage()
324 return new ThreadCpuUsage(threadId, threadName, cpuUsages); in getThreadCpuUsage()
522 public ArrayList<ThreadCpuUsage> threadCpuUsages;
529 ArrayList<ThreadCpuUsage> threadCpuUsages) { in ProcessCpuUsage()
538 public static class ThreadCpuUsage { class in KernelCpuThreadReader
544 public ThreadCpuUsage(int threadId, String threadName, int[] usageTimesMillis) { in ThreadCpuUsage() method in KernelCpuThreadReader.ThreadCpuUsage
DKernelCpuThreadReaderDiff.java167 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = in createCpuUsageMap()
192 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = in changeToDiffs()
221 final ArrayList<KernelCpuThreadReader.ThreadCpuUsage> thresholded = new ArrayList<>(); in applyThresholding()
223 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = in applyThresholding()
236 new KernelCpuThreadReader.ThreadCpuUsage( in applyThresholding()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderEndToEndTest.java30 import com.android.internal.os.KernelCpuThreadReader.ThreadCpuUsage;
141 final List<ThreadCpuUsage> threadCpuUsages = in getAverageWorkTime()
DKernelCpuThreadReaderDiffTest.java282 ArrayList<KernelCpuThreadReader.ThreadCpuUsage> threadCpuUsages = new ArrayList<>(); in createProcess()
286 new KernelCpuThreadReader.ThreadCpuUsage(0, "thread" + i, cpuUsage)); in createProcess()
DKernelCpuThreadReaderTest.java148 final ArrayList<KernelCpuThreadReader.ThreadCpuUsage> threadCpuUsages = in checkResults()
153 for (KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage : threadCpuUsages) { in checkResults()
/frameworks/av/services/audioflinger/
DFastThread.h75 ThreadCpuUsage mTcu; // for reading the current CPU clock frequency in kHz
DThreads.cpp344 ThreadCpuUsage mCpuUsage; // instantaneous thread CPU usage in wall clock ns
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1883 ArrayList<KernelCpuThreadReader.ThreadCpuUsage> threadCpuUsages = in pullCpuTimePerThreadFreq()
1886 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = threadCpuUsages.get(j); in pullCpuTimePerThreadFreq()
/frameworks/base/config/
Dboot-image-profile.txt21257 …tThreadCpuUsage(Ljava/nio/file/Path;)Lcom/android/internal/os/KernelCpuThreadReader$ThreadCpuUsage;