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

  /external/llvm/utils/lit/lit/
util.py 33 ncpus = os.sysconf("SC_NPROCESSORS_ONLN")
34 if isinstance(ncpus, int) and ncpus > 0:
35 return ncpus
40 ncpus = int(os.environ["NUMBER_OF_PROCESSORS"])
41 if ncpus > 0:
42 return ncpus
  /external/strace/xlat/
gen.sh 251 local ncpus="$(getconf _NPROCESSORS_ONLN)"
252 [ "${ncpus}" -ge 1 ] ||
253 ncpus=1
264 if [ ${jobs} -ge ${ncpus} ]; then
  /external/autotest/client/profilers/cpistat/
cpistat 30 ncpus = os.sysconf('SC_NPROCESSORS_ONLN') variable
31 cpus = range(0, ncpus)
  /external/autotest/client/tests/monotonic_time/src/
time_test.c 234 int ncpus; local
256 ncpus = count_cpus(cpus);
258 if (nthreads != ncpus) {
260 ncpus, nthreads);
270 test->name, ncpus, duration);
272 INFO("running %s test on %d cpus", test->name, ncpus);
  /external/blktrace/
blktrace.c 96 int fd, idx, ncpus; member in struct:devpath
218 int fd, ncpus; member in struct:cl_conn
277 static int ncpus; variable
866 hdr.max_cpus = ncpus;
1009 cl_fds = calloc(ncpus, sizeof(*cl_fds));
1010 for (cpu = 0; cpu < ncpus; cpu++) {
1029 for (cpu = 0, fdp = cl_fds; cpu < ncpus; cpu++, fdp++) {
1052 dpp->ncpus = ncpus;
1056 dpp->stats = calloc(dpp->ncpus, sizeof(*dpp->stats))
    [all...]
blkparse.c 64 int ncpus; member in struct:per_dev_info
324 int ncpus = pdi->ncpus; local
338 new_start = (char *)cpus + (ncpus * sizeof(struct per_cpu_info));
339 new_space = (new_count - ncpus) * sizeof(struct per_cpu_info);
342 pdi->ncpus = new_count;
345 for (new_count = 0; new_count < pdi->ncpus; new_count++) {
361 if (cpu >= pdi->ncpus)
490 for (cpu = 0; cpu < pdi->ncpus; cpu++) {
    [all...]
  /external/blktrace/btreplay/
btreplay.c 145 static int ncpus = 0; // Number of CPUs in the system variable
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);
    [all...]
  /external/clang/utils/analyzer/
SATestBuild.py 69 ncpus = os.sysconf("SC_NPROCESSORS_ONLN")
70 if isinstance(ncpus, int) and ncpus > 0:
71 return ncpus
76 ncpus = int(os.environ["NUMBER_OF_PROCESSORS"])
77 if ncpus > 0:
78 return ncpus
  /external/opencv3/modules/core/src/
parallel.cpp 510 static int ncpus = getNumberOfCPUsImpl();
511 return ncpus;
  /external/jemalloc/include/jemalloc/internal/
private_namespace.h 332 #define ncpus JEMALLOC_N(ncpus) macro
private_unnamespace.h 332 #undef ncpus macro
jemalloc_internal.h 441 extern unsigned ncpus;
  /external/jemalloc/src/
jemalloc.c 48 unsigned ncpus; variable
1301 ncpus = malloc_ncpus();
1333 if (ncpus > 1)
1334 opt_narenas = ncpus << 2;
    [all...]
stats.c 539 malloc_cprintf(write_cb, cbopaque, "CPUs: %u\n", ncpus);

Completed in 785 milliseconds