Home
last modified time | relevance | path

Searched refs:HW_NCPU (Results 1 – 17 of 17) sorted by relevance

/external/libcxx/src/
Dthread.cpp80 #if defined(CTL_HW) && defined(HW_NCPU) in hardware_concurrency()
82 int mib[2] = {CTL_HW, HW_NCPU}; in hardware_concurrency()
/external/ltp/testcases/open_posix_testsuite/include/
Dncpu.h47 mib[1] = HW_NCPU; in get_ncpu()
/external/rust/crates/num_cpus/src/
Dlib.rs241 let mut mib = [libc::CTL_HW, libc::HW_NCPU, 0, 0]; in get_num_cpus()
286 let mut mib = [libc::CTL_HW, libc::HW_NCPU, 0, 0]; in get_num_physical_cpus()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_cpu_detect.c325 mib[1] = HW_NCPU; in util_cpu_detect()
/external/mesa3d/src/util/
Du_cpu_detect.c562 mib[1] = HW_NCPU; in util_cpu_detect_once()
/external/llvm-project/llvm/utils/benchmark/src/
Dsysinfo.cc147 mib[1] = HW_NCPU; in GetSysctlImp()
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc149 mib[1] = HW_NCPU; in GetSysctlImp()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dsysinfo.cc149 mib[1] = HW_NCPU; in GetSysctlImp()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cpp690 req[1] = HW_NCPU; in GetNumberOfCPUs()
/external/google-benchmark/src/
Dsysinfo.cc154 mib[1] = HW_NCPU; in GetSysctlImp()
/external/rust/crates/libc/src/unix/bsd/netbsdlike/
Dmod.rs560 pub const HW_NCPU: ::c_int = 3; constant
/external/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
Dmod.rs543 pub const HW_NCPU: ::c_int = 3; constant
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs616 pub const HW_NCPU: ::c_int = 3; constant
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.c2207 mib[1] = HW_NCPU; in initialise_threads()
Dmksquashfs.c4439 mib[1] = HW_NCPU; in initialise_threads()
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs2980 pub const HW_NCPU: ::c_int = 3; constant
/external/python/cpython3/Modules/
Dposixmodule.c12995 mib[1] = HW_NCPU; in os_cpu_count_impl()