Lines Matching refs:ThreadCpuUsage
17 #define LOG_TAG "ThreadCpuUsage"
27 #include <cpustats/ThreadCpuUsage.h>
36 bool ThreadCpuUsage::setEnabled(bool isEnabled)
81 bool ThreadCpuUsage::sampleAndEnable(double& ns)
101 bool ThreadCpuUsage::sample(double &ns)
132 long long ThreadCpuUsage::elapsed() const
155 void ThreadCpuUsage::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()
209 uint32_t ThreadCpuUsage::getCpukHz(int cpuNum)