Home
last modified time | relevance | path

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

/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp36 bool ThreadCpuUsage::setEnabled(bool isEnabled) in setEnabled()
81 bool ThreadCpuUsage::sampleAndEnable(double& ns) in sampleAndEnable()
101 bool ThreadCpuUsage::sample(double &ns) in sample()
132 long long ThreadCpuUsage::elapsed() const in elapsed()
155 void ThreadCpuUsage::resetElapsed() in resetElapsed()
169 int ThreadCpuUsage::sScalingFds[ThreadCpuUsage::MAX_CPU];
170 pthread_once_t ThreadCpuUsage::sOnceControl = PTHREAD_ONCE_INIT;
171 int ThreadCpuUsage::sKernelMax;
172 pthread_mutex_t ThreadCpuUsage::sMutex = PTHREAD_MUTEX_INITIALIZER;
175 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.java271 final ArrayList<ThreadCpuUsage> threadCpuUsages = new ArrayList<>(); in getProcessCpuUsage()
274 ThreadCpuUsage threadCpuUsage = getThreadCpuUsage(threadDirectory); in getProcessCpuUsage()
303 private ThreadCpuUsage getThreadCpuUsage(Path threadDirectory) { in getThreadCpuUsage()
325 return new ThreadCpuUsage(threadId, threadName, cpuUsages); in getThreadCpuUsage()
523 public ArrayList<ThreadCpuUsage> threadCpuUsages;
530 ArrayList<ThreadCpuUsage> threadCpuUsages) { in ProcessCpuUsage()
539 public static class ThreadCpuUsage { class in KernelCpuThreadReader
545 public ThreadCpuUsage(int threadId, String threadName, int[] usageTimesMillis) { in ThreadCpuUsage() method in KernelCpuThreadReader.ThreadCpuUsage
DKernelCpuThreadReaderDiff.java169 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = in createCpuUsageMap()
194 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = in changeToDiffs()
223 final ArrayList<KernelCpuThreadReader.ThreadCpuUsage> thresholded = new ArrayList<>(); in applyThresholding()
225 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = in applyThresholding()
238 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.cpp373 ThreadCpuUsage mCpuUsage; // instantaneous thread CPU usage in wall clock ns
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2767 ArrayList<KernelCpuThreadReader.ThreadCpuUsage> threadCpuUsages =
2770 KernelCpuThreadReader.ThreadCpuUsage threadCpuUsage = threadCpuUsages.get(j);
/frameworks/base/config/
Dpreloaded-classes8336 com.android.internal.os.KernelCpuThreadReader$ThreadCpuUsage
Dboot-image-profile.txt29039 …tThreadCpuUsage(Ljava/nio/file/Path;)Lcom/android/internal/os/KernelCpuThreadReader$ThreadCpuUsage;
48765 Lcom/android/internal/os/KernelCpuThreadReader$ThreadCpuUsage;