HomeSort by relevance Sort by last modified time
    Searched refs:MAX_CPU (Results 1 - 3 of 3) sorted by null

  /frameworks/av/media/libcpustats/include/cpustats/
ThreadCpuUsage.h 129 static const int MAX_CPU = 8;
130 static int sScalingFds[MAX_CPU];// file descriptor per CPU for reading scaling_cur_freq
131 uint32_t mCurrentkHz[MAX_CPU]; // current CPU frequency in kHz, not static to avoid a race
133 static int sKernelMax; // like MAX_CPU, but determined at runtime == cpu/kernel_max + 1
  /frameworks/av/media/libcpustats/
ThreadCpuUsage.cpp 169 int ThreadCpuUsage::sScalingFds[ThreadCpuUsage::MAX_CPU];
186 if (sKernelMax >= MAX_CPU - 1) {
187 ALOGW("kernel_max %d but MAX_CPU %d", sKernelMax, MAX_CPU);
188 sKernelMax = MAX_CPU;
204 for (i = 0; i < MAX_CPU; ++i) {
211 if (cpuNum < 0 || cpuNum >= MAX_CPU) {
225 static_assert(MAX_CPU <= 10, "MAX_CPU too large");
  /system/extras/sane_schedstat/
sane_schedstat.c 31 #define MAX_CPU 2
54 struct cpu_stat cpu_prev[MAX_CPU];
55 struct cpu_stat cpu_delta[MAX_CPU];
73 for (i=0; i<MAX_CPU; i++) {

Completed in 138 milliseconds