Searched refs:sKernelMax (Results 1 – 2 of 2) sorted by relevance
166 int ThreadCpuUsage::sKernelMax; member in android::ThreadCpuUsage173 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 …]
50 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