Searched refs:ncpu (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/src/system_wrappers/source/ |
D | cpu_info.cc | 50 int ncpu; in DetectNumberOfCores() 51 size_t size = sizeof(ncpu); in DetectNumberOfCores() 52 if(0 == sysctl(name, 2, &ncpu, &size, NULL, 0)) in DetectNumberOfCores() 54 _numberOfCores = static_cast<WebRtc_UWord32>(ncpu); in DetectNumberOfCores()
|
/external/netperf/ |
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() 40 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/llvm/utils/buildit/ |
D | build_llvm | 294 SYSCTL=`sysctl -n hw.ncpu`
|
/external/llvm/utils/release/ |
D | test-release.sh | 166 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
|