Searched refs:ThreadCpuUsage (Results 1 - 5 of 5) sorted by relevance

/frameworks/native/libs/cpustats/
H A DAndroid.mk7 ThreadCpuUsage.cpp
H A DThreadCpuUsage.cpp17 #define LOG_TAG "ThreadCpuUsage"
27 #include <cpustats/ThreadCpuUsage.h>
31 bool ThreadCpuUsage::setEnabled(bool isEnabled)
76 bool ThreadCpuUsage::sampleAndEnable(double& ns)
97 bool ThreadCpuUsage::sample(double &ns)
128 long long ThreadCpuUsage::elapsed() const
151 void ThreadCpuUsage::resetElapsed()
165 int ThreadCpuUsage::sScalingFds[ThreadCpuUsage::MAX_CPU];
166 pthread_once_t ThreadCpuUsage
[all...]
/frameworks/native/include/cpustats/
H A DThreadCpuUsage.h37 class ThreadCpuUsage class in namespace:android
41 ThreadCpuUsage() : function in class:android::ThreadCpuUsage
55 ~ThreadCpuUsage() { }
134 static void init(); // called once at first ThreadCpuUsage construction
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp28 #include <cpustats/ThreadCpuUsage.h>
79 ThreadCpuUsage tcu; // for reading the current CPU clock frequency in kHz
H A DAudioFlinger.cpp70 #include <cpustats/ThreadCpuUsage.h>
2439 ThreadCpuUsage mCpuUsage; // instantaneous thread CPU usage in wall clock ns

Completed in 113 milliseconds