Home
last modified time | relevance | path

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

/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp166 int ThreadCpuUsage::sKernelMax; member in android::ThreadCpuUsage
173 sKernelMax = 1; in init()
180 sKernelMax = atoi(kernelMax); in init()
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()
184 } else if (sKernelMax < 0) { in init()
185 ALOGW("kernel_max invalid %d", sKernelMax); in init()
186 sKernelMax = 1; in init()
188 ++sKernelMax; in init()
[all …]
/frameworks/av/include/cpustats/
DThreadCpuUsage.h50 for (int i = 0; i < sKernelMax; ++i) { in ThreadCpuUsage()
133 static int sKernelMax; // like MAX_CPU, but determined at runtime == cpu/kernel_max + 1 variable