Home
last modified time | relevance | path

Searched refs:_SC_NPROCESSORS_ONLN (Results 1 – 25 of 75) sorted by relevance

123

/third_party/vk-gl-cts/framework/delibs/dethread/unix/
DdeThreadUnix.c46 # if !defined(_SC_NPROCESSORS_ONLN)
47 # define _SC_NPROCESSORS_ONLN 58 macro
183 #if defined(_SC_NPROCESSORS_ONLN) in deGetNumAvailableLogicalCores()
184 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores()
203 #if defined(_SC_NPROCESSORS_ONLN) in deGetNumAvailableLogicalCores()
204 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores()
/third_party/ltp/testcases/open_posix_testsuite/include/
Dncpu.h40 #ifdef _SC_NPROCESSORS_ONLN in get_ncpu()
41 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in get_ncpu()
/third_party/ltp/lib/
Dtst_cpu.c30 #ifdef _SC_NPROCESSORS_ONLN in tst_ncpus()
31 ncpus = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_ONLN); in tst_ncpus()
/third_party/musl/libc-test/src/functionalext/supplement/conf/
Dget_nprocs.c30 if (sysconf(_SC_NPROCESSORS_ONLN) != nprocs) { in get_nprocs_0100()
/third_party/ltp/utils/benchmark/ebizzy-0.3/
Debizzy.h29 #define _SC_NPROCESSORS_ONLN pthread_num_processors_np() macro
/third_party/ltp/testcases/lib/
Dtst_getconf.c40 printf("%ld\n", sysconf(_SC_NPROCESSORS_ONLN)); in main()
/third_party/ffmpeg/libavutil/
Dcpu.c229 #elif HAVE_SYSCONF && defined(_SC_NPROCESSORS_ONLN) in av_cpu_count()
230 nb_cpus = sysconf(_SC_NPROCESSORS_ONLN); in av_cpu_count()
/third_party/skia/third_party/externals/swiftshader/src/System/
DCPUID.cpp119 cores = sysconf(_SC_NPROCESSORS_ONLN); in coreCount()
/third_party/astc-encoder/Source/
Dastcenccli_platform_dependents.cpp106 return static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); in get_cpu_count()
/third_party/ltp/testcases/realtime/func/sched_football/
Dsched_football.c168 players_per_team = sysconf(_SC_NPROCESSORS_ONLN); in main()
/third_party/node/deps/v8/src/base/
Dsys-info.cc49 long result = sysconf(_SC_NPROCESSORS_ONLN); // NOLINT(runtime/int) in NumberOfProcessors()
/third_party/skia/src/core/
DSkExecutor.cpp26 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
/third_party/ltp/testcases/realtime/func/prio-wake/
Dprio-wake.c179 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
/third_party/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c155 busy_threads = 2 * sysconf(_SC_NPROCESSORS_ONLN); // default busy_threads in main()
/third_party/ltp/testcases/kernel/security/dirtyc0w_shmem/
Ddirtyc0w_shmem_child.c186 num_cpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DCPUID.cpp250 cores = sysconf(_SC_NPROCESSORS_ONLN); in detectCoreCount()
/third_party/ltp/testcases/realtime/func/pi_perf/
Dpi_perf.c244 num_busy = sysconf(_SC_NPROCESSORS_ONLN); in main()
/third_party/libabigail/src/
Dabg-workers.cc76 {return sysconf(_SC_NPROCESSORS_ONLN);} in get_number_of_threads()
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c125 int child_pairs = sysconf(_SC_NPROCESSORS_ONLN)*4; in reproduce()
/third_party/musl/porting/linux/user/src/conf/
Dsysconf.c97 [_SC_NPROCESSORS_ONLN] = JT_NPROCESSORS_ONLN, in sysconf()
/third_party/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c298 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_cpu_hog.c119 nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); in checkopt()
/third_party/musl/src/conf/
Dsysconf.c100 [_SC_NPROCESSORS_ONLN] = JT_NPROCESSORS_ONLN, in sysconf()
/third_party/mesa3d/src/util/
Du_cpu_detect.c633 # elif defined(_SC_NPROCESSORS_ONLN) in util_cpu_detect_once()
635 available_cpus = sysconf(_SC_NPROCESSORS_ONLN); in util_cpu_detect_once()
/third_party/ltp/testcases/realtime/func/pi-tests/
Dtestpi-7.c278 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()

123