Searched refs:ThreadCpuUsage (Results 1 – 5 of 5) sorted by relevance
36 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 …]
6 "ThreadCpuUsage.cpp",
37 class ThreadCpuUsage41 ThreadCpuUsage() : in ThreadCpuUsage() function55 ~ThreadCpuUsage() { } in ~ThreadCpuUsage()
75 ThreadCpuUsage mTcu; // for reading the current CPU clock frequency in kHz
335 ThreadCpuUsage mCpuUsage; // instantaneous thread CPU usage in wall clock ns