Searched refs:ncpu (Results 1 – 21 of 21) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/include/ |
D | ncpu.h | 37 int ncpu = -1; in get_ncpu() local 41 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in get_ncpu() 45 size_t len = sizeof(ncpu); in get_ncpu() 48 sysctl(mib, 2, &ncpu, &len, NULL, 0); in get_ncpu() 53 ncpu = (int)psd.psd_proc_cnt; in get_ncpu() 57 return ncpu; in get_ncpu()
|
/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/strace/ |
D | affinity.c | 71 const unsigned int ncpu = size * 8; in print_affinitylist() local 86 i = next_set_bit(cpu, i, ncpu); in print_affinitylist()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_cpu_detect.c | 320 int mib[2], ncpu; in util_cpu_detect() local 326 len = sizeof (ncpu); in util_cpu_detect() 327 sysctl(mib, 2, &ncpu, &len, NULL, 0); in util_cpu_detect() 328 util_cpu_caps.nr_cpus = ncpu; in util_cpu_detect()
|
/external/tensorflow/tensorflow/tools/ci_build/builds/ |
D | cmake.sh | 24 N_JOBS=$(sysctl -n hw.ncpu)
|
/external/tensorflow/tensorflow/tools/ci_build/osx/cpu/ |
D | run_py3_cc_core.sh | 21 N_JOBS=$(sysctl -n hw.ncpu)
|
D | run_contrib.sh | 21 N_JOBS=$(sysctl -n hw.ncpu)
|
D | run_py2_cc_core.sh | 21 N_JOBS=$(sysctl -n hw.ncpu)
|
/external/tensorflow/tensorflow/contrib/makefile/ |
D | build_helper.subr | 23 sysctl hw.ncpu | awk '{print $2}' ;;
|
/external/vulkan-validation-layers/ |
D | update_external_sources.sh | 11 CORE_COUNT=$(sysctl -n hw.ncpu || echo 4)
|
D | BUILD.md | 328 ndk-build -j $(sysctl -n hw.ncpu)
|
/external/vulkan-validation-layers/build-android/ |
D | build_all.sh | 30 cores=$(sysctl -n hw.ncpu) || echo 4
|
D | update_external_sources_android.sh | 48 cores=$(sysctl -n hw.ncpu)
|
/external/libmicrohttpd/m4/ |
D | ax_count_cpus.m4 | 41 CPU_COUNT=`/usr/sbin/sysctl -n hw.ncpu`
|
/external/google-breakpad/android/ |
D | common-functions.sh | 193 sysctl -n hw.ncpu
|
/external/protobuf/objectivec/DevTools/ |
D | full_mac_build.sh | 68 NUM_MAKE_JOBS=$(/usr/sbin/sysctl -n hw.ncpu)
|
/external/swiftshader/third_party/LLVM/utils/release/ |
D | test-release.sh | 125 NumJobs=`sysctl -n hw.ncpu 2> /dev/null || true`
|
/external/swiftshader/third_party/LLVM/utils/buildit/ |
D | build_llvm | 260 SYSCTL=`sysctl -n hw.ncpu`
|
/external/llvm/utils/release/ |
D | test-release.sh | 198 NumJobs=`sysctl -n hw.ncpu 2> /dev/null || true`
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 10977 int ncpu = 0; 10981 ncpu = sysinfo.dwNumberOfProcessors; 10983 ncpu = mpctl(MPC_GETNUMSPUS, NULL, NULL); 10985 ncpu = sysconf(_SC_NPROCESSORS_ONLN); 10992 size_t len = sizeof(ncpu); 10995 if (sysctl(mib, 2, &ncpu, &len, NULL, 0) != 0) 10996 ncpu = 0; 10998 if (ncpu >= 1) 10999 return PyLong_FromLong(ncpu);
|
/external/libmicrohttpd/ |
D | configure | 16703 CPU_COUNT=`/usr/sbin/sysctl -n hw.ncpu`
|