Home
last modified time | relevance | path

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

/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp172 int ThreadCpuUsage::sKernelMax; member in android::ThreadCpuUsage
179 sKernelMax = 1; in init()
186 sKernelMax = atoi(kernelMax); in init()
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()
190 } else if (sKernelMax < 0) { in init()
191 ALOGW("kernel_max invalid %d", sKernelMax); in init()
192 sKernelMax = 1; in init()
194 ++sKernelMax; in init()
[all …]
/frameworks/av/media/libcpustats/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