Home
last modified time | relevance | path

Searched refs:ncpu (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/src/system_wrappers/source/
Dcpu_info.cc50 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/
Dnetcpu_kstat.c75 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/
Dsys-info.cc34 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/
Du_cpu_detect.c239 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/
Dcommon-functions.sh193 sysctl -n hw.ncpu
/external/llvm/utils/buildit/
Dbuild_llvm294 SYSCTL=`sysctl -n hw.ncpu`
/external/llvm/utils/release/
Dtest-release.sh166 NumJobs=`sysctl -n hw.ncpu 2> /dev/null || true`
/external/regex-re2/benchlog/
Dbenchlog.mini1 hw.ncpu: 2
39 hw.ncpu = 2
Dbenchlog.wreck3 hw.ncpu = 4
22 hw.ncpu: 4