Lines Matching refs:ThreadCpuUsage
17 #define LOG_TAG "ThreadCpuUsage"
26 #include <cpustats/ThreadCpuUsage.h>
30 bool ThreadCpuUsage::setEnabled(bool isEnabled)
75 bool ThreadCpuUsage::sampleAndEnable(double& ns)
96 bool ThreadCpuUsage::sample(double &ns)
127 long long ThreadCpuUsage::elapsed() const
150 void ThreadCpuUsage::resetElapsed()
164 int ThreadCpuUsage::sScalingFds[ThreadCpuUsage::MAX_CPU];
165 pthread_once_t ThreadCpuUsage::sOnceControl = PTHREAD_ONCE_INIT;
166 int ThreadCpuUsage::sKernelMax;
167 pthread_mutex_t ThreadCpuUsage::sMutex = PTHREAD_MUTEX_INITIALIZER;
170 void ThreadCpuUsage::init()
204 uint32_t ThreadCpuUsage::getCpukHz(int cpuNum)