Home
last modified time | relevance | path

Searched refs:MAX_CPU (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp170 int ThreadCpuUsage::sScalingFds[ThreadCpuUsage::MAX_CPU];
187 if (sKernelMax >= MAX_CPU - 1) { in init()
188 ALOGW("kernel_max %d but MAX_CPU %d", sKernelMax, MAX_CPU); in init()
189 sKernelMax = MAX_CPU; in init()
205 for (i = 0; i < MAX_CPU; ++i) { in init()
212 if (cpuNum < 0 || cpuNum >= MAX_CPU) { in getCpukHz()
226 static_assert(MAX_CPU <= 10, "MAX_CPU too large"); in getCpukHz()
/frameworks/av/media/libcpustats/include/cpustats/
DThreadCpuUsage.h129 static const int MAX_CPU = 8; variable
130 static int sScalingFds[MAX_CPU];// file descriptor per CPU for reading scaling_cur_freq
131 uint32_t mCurrentkHz[MAX_CPU]; // current CPU frequency in kHz, not static to avoid a race