Searched refs:MAX_CPU (Results 1 – 2 of 2) sorted by relevance
164 int ThreadCpuUsage::sScalingFds[ThreadCpuUsage::MAX_CPU];181 if (sKernelMax >= MAX_CPU - 1) { in init()182 ALOGW("kernel_max %d but MAX_CPU %d", sKernelMax, MAX_CPU); in init()183 sKernelMax = MAX_CPU; in init()199 for (i = 0; i < MAX_CPU; ++i) { in init()206 if (cpuNum < 0 || cpuNum >= MAX_CPU) { in getCpukHz()220 static_assert(MAX_CPU <= 10, "MAX_CPU too large"); in getCpukHz()
129 static const int MAX_CPU = 8; variable130 static int sScalingFds[MAX_CPU];// file descriptor per CPU for reading scaling_cur_freq131 uint32_t mCurrentkHz[MAX_CPU]; // current CPU frequency in kHz, not static to avoid a race