Searched refs:kHz (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp235 char kHz[KHZ_SIZE]; // kHz base 10 local
236 ssize_t actual = pread(fd, kHz, sizeof(kHz), (off_t) 0);
238 if (actual >= 2 && kHz[actual-1] == '\n') {
239 ret = atoi(kHz);
245 ALOGV("CPU %d frequency %u kHz", cpuNum, ret);
/frameworks/av/services/audioflinger/
H A DFastMixerDumpState.cpp90 CentralTendencyStatistics kHz, loadMHz; local
110 // skip bad kHz samples
112 kHz.sample(sampleCpukHz >> 4);
139 kHz.mean()*1e-3, kHz.minimum()*1e-3, kHz.maximum()*1e-3, kHz.stddev()*1e-3);
H A DFastThread.cpp323 // get the absolute value of CPU clock frequency in kHz
325 uint32_t kHz = mTcu.getCpukHz(cpuNum);
326 kHz = (kHz << 4) | (cpuNum & 0xF);
334 mDumpState->mCpukHz[i] = kHz;

Completed in 3084 milliseconds