Searched refs:ncpu (Results 1 – 10 of 10) sorted by relevance
/external/netperf/src/ |
D | netcpu_kstat.c | 75 static int ncpu = 0; in open_kstat() local 145 ncpu = 0; in open_kstat() 167 fprintf(where,"cpu_ks[%d] getting %p\n",ncpu,ks); in open_kstat() 171 cpu_ks[ncpu] = ks; in open_kstat() 172 ncpu++; in open_kstat() 173 if (ncpu > lib_num_loc_cpus) in open_kstat() 178 ncpu,lib_num_loc_cpus); in open_kstat()
|
/external/v8/src/base/ |
D | sys-info.cc | 34 int ncpu = 0; in NumberOfProcessors() local 35 size_t len = sizeof(ncpu); in NumberOfProcessors() 36 if (sysctl(mib, arraysize(mib), &ncpu, &len, NULL, 0) != 0) { in NumberOfProcessors() 39 return ncpu; in NumberOfProcessors()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_cpu_detect.c | 239 int mib[2], ncpu; in util_cpu_detect() local 245 len = sizeof (ncpu); in util_cpu_detect() 246 sysctl(mib, 2, &ncpu, &len, NULL, 0); in util_cpu_detect() 247 util_cpu_caps.nr_cpus = ncpu; in util_cpu_detect()
|
/external/google-breakpad/android/ |
D | common-functions.sh | 193 sysctl -n hw.ncpu
|
/external/libmicrohttpd/m4/ |
D | ax_count_cpus.m4 | 41 CPU_COUNT=`/usr/sbin/sysctl -n hw.ncpu`
|
/external/llvm/utils/buildit/ |
D | build_llvm | 294 SYSCTL=`sysctl -n hw.ncpu`
|
/external/llvm/utils/release/ |
D | test-release.sh | 184 NumJobs=`sysctl -n hw.ncpu 2> /dev/null || true`
|
/external/regex-re2/benchlog/ |
D | benchlog.mini | 1 hw.ncpu: 2 39 hw.ncpu = 2
|
D | benchlog.wreck | 3 hw.ncpu = 4 22 hw.ncpu: 4
|
/external/libmicrohttpd/ |
D | configure | 16703 CPU_COUNT=`/usr/sbin/sysctl -n hw.ncpu`
|