Searched refs:cpuNum (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/cpustats/
H A DThreadCpuUsage.cpp205 uint32_t ThreadCpuUsage::getCpukHz(int cpuNum) argument
207 if (cpuNum < 0 || cpuNum >= MAX_CPU) {
208 ALOGW("getCpukHz called with invalid CPU %d", cpuNum);
212 int fd = sScalingFds[cpuNum];
216 fd = sScalingFds[cpuNum];
224 freq_path[FREQ_DIGIT] = cpuNum + '0';
227 sScalingFds[cpuNum] = fd;
231 ALOGW("getCpukHz can't open CPU %d", cpuNum);
244 if (ret != mCurrentkHz[cpuNum]) {
[all...]
/frameworks/native/include/cpustats/
H A DThreadCpuUsage.h119 uint32_t getCpukHz(int cpuNum);
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp555 int cpuNum = sched_getcpu();
556 uint32_t kHz = tcu.getCpukHz(cpuNum);
557 kHz = (kHz << 4) | (cpuNum & 0xF);
H A DAudioFlinger.cpp2468 int cpuNum = sched_getcpu(); local
2471 int cpukHz = mCpuUsage.getCpukHz(cpuNum);
2474 if (cpuNum != mCpuNum || cpukHz != mCpukHz) {
2475 mCpuNum = cpuNum;

Completed in 123 milliseconds