HomeSort by relevance Sort by last modified time
    Searched defs:cpus (Results 1 - 5 of 5) sorted by null

  /external/chromium/third_party/libjingle/source/talk/base/
linux.cc 72 int cpus = static_cast<int>(cpu_info_.size()); local
73 for (int i = 0; i < cpus; ++i) {
  /ndk/sources/host-tools/make-3.81/
getloadavg.c 470 static unsigned int cpus = 0;
690 if (cpus == 0)
721 cpus = c;
722 samples = cpus < 2 ? 3 : (2 * cpus / 3);
745 loadavg[elem++] = load / samples / cpus;
469 static unsigned int cpus = 0; variable
  /external/oprofile/libpp/
xml_utils.cpp 127 size_t cpus = 0; local
128 // count number of cpus
131 if (cpu > cpus) cpus = cpu;
133 // cpus names start with 0
134 nr_cpus = cpus + 1;
185 void xml_utils::set_nr_cpus(size_t cpus)
187 nr_cpus = cpus;
  /external/blktrace/btreplay/
btreplay.c 142 static int cpus_to_use = -1; // Number of CPUs to use
145 static int ncpus = 0; // Number of CPUs in the system
505 cpu_set_t cpus; local
507 if (sched_getaffinity(getpid(), sizeof(cpus), &cpus)) {
516 for (ncpus = 0; ncpus < CPU_SETSIZE && CPU_ISSET(ncpus, &cpus); ncpus++)
519 fatal(NULL, ERR_SYSCALL, "Insufficient number of CPUs\n");
530 cpu_set_t cpus; local
534 CPU_ZERO(&cpus);
535 CPU_SET(tip->cpu, &cpus);
    [all...]
  /external/blktrace/
blkparse.c 69 struct per_cpu_info *cpus; member in struct:per_dev_info
323 struct per_cpu_info *cpus = pdi->cpus; local
330 cpus = realloc(cpus, size);
331 if (!cpus) {
338 new_start = (char *)cpus + (ncpus * sizeof(struct per_cpu_info));
343 pdi->cpus = cpus;
346 struct per_cpu_info *pci = &pdi->cpus[new_count]
    [all...]

Completed in 183 milliseconds