/external/chromium/base/ |
sys_info_openbsd.cc | 16 int ncpu; local 17 size_t size = sizeof(ncpu); 18 if (sysctl(mib, 2, &ncpu, &size, NULL, 0) == -1) { 22 return ncpu;
|
/external/webrtc/src/system_wrappers/source/ |
cpu_info.cc | 50 int ncpu; 51 size_t size = sizeof(ncpu); 52 if(0 == sysctl(name, 2, &ncpu, &size, NULL, 0)) 54 _numberOfCores = static_cast<WebRtc_UWord32>(ncpu);
|
/external/chromium_org/base/ |
sys_info_openbsd.cc | 32 int ncpu; local 33 size_t size = sizeof(ncpu); 34 if (sysctl(mib, arraysize(mib), &ncpu, &size, NULL, 0) < 0) { 38 return ncpu;
|
/external/qemu/ |
android-rebuild.sh | 14 HOST_NUM_CPUS=`sysctl -n hw.ncpu`
|
/external/netperf/ |
netcpu_kstat.c | 75 static int ncpu = 0; local 145 ncpu = 0; 167 fprintf(where,"cpu_ks[%d] getting %p\n",ncpu,ks); 171 cpu_ks[ncpu] = ks; 172 ncpu++; 173 if (ncpu > lib_num_loc_cpus) 178 ncpu,lib_num_loc_cpus); 183 /* note that ncpu could be less than ncpus, but that's okay */
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_cpu_detect.c | 239 int mib[2], ncpu; local 245 len = sizeof (ncpu); 246 sysctl(mib, 2, &ncpu, &len, NULL, 0); 247 util_cpu_caps.nr_cpus = ncpu;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_cpu_detect.c | 239 int mib[2], ncpu; local 245 len = sizeof (ncpu); 246 sysctl(mib, 2, &ncpu, &len, NULL, 0); 247 util_cpu_caps.nr_cpus = ncpu;
|
/ndk/build/tools/ |
dev-rebuild-ndk.sh | 111 HOST_NUM_CPUS=`/usr/sbin/sysctl -n hw.ncpu`
|
ndk-common.sh | 372 HOST_NUM_CPUS=`sysctl -n hw.ncpu`
|
/sdk/eclipse/scripts/ |
create_all_symlinks.sh | 330 [[ $(uname) == "Darwin" ]] && J=$(sysctl hw.ncpu | cut -d : -f 2 | tr -d ' ')
|
/external/qemu/distrib/ |
build-kernel.sh | 20 BUILD_NUM_CPUS=$(sysctl -n hw.ncpu)
|
/external/llvm/utils/buildit/ |
build_llvm | 288 SYSCTL=`sysctl -n hw.ncpu`
|
/external/qemu/distrib/sdl-1.2.15/build-scripts/ |
fatbuild.sh | 6 NCPU=`sysctl -n hw.ncpu` 8 NJOB=$NCPU
|
/external/llvm/utils/release/ |
test-release.sh | 144 NumJobs=`sysctl -n hw.ncpu 2> /dev/null || true`
|
/external/chromium_org/tools/gyp/pylib/gyp/generator/ |
xcode.py | [all...] |