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