Home | History | Annotate | Download | only in btreplay

Lines Matching defs:ncpus

145 static int ncpus = 0;			// Number of CPUs in the system
501 * get_ncpus - Sets up the global 'ncpus' value
516 for (ncpus = 0; ncpus < CPU_SETSIZE && CPU_ISSET(ncpus, &cpus); ncpus++)
518 if (ncpus == 0) {
532 assert(0 <= tip->cpu && tip->cpu < ncpus);
547 for (i = 0; i < ncpus; i++)
863 assert(0 <= cpu && cpu < ncpus);
1471 if (cpus_to_use <= 0 || cpus_to_use > ncpus) {
1474 cpus_to_use, ncpus);
1566 cpus_to_use = ncpus;