Searched refs:sKernelMax (Results 1 – 2 of 2) sorted by relevance
167 int ThreadCpuUsage::sKernelMax; member in android::ThreadCpuUsage174 sKernelMax = 1; in init()181 sKernelMax = atoi(kernelMax); in init()182 if (sKernelMax >= MAX_CPU - 1) { in init()183 ALOGW("kernel_max %d but MAX_CPU %d", sKernelMax, MAX_CPU); in init()184 sKernelMax = MAX_CPU; in init()185 } else if (sKernelMax < 0) { in init()186 ALOGW("kernel_max invalid %d", sKernelMax); in init()187 sKernelMax = 1; in init()189 ++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