Home
last modified time | relevance | path

Searched refs:_SC_NPROCESSORS_ONLN (Results 1 – 25 of 59) 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/boost/tools/build/src/engine/
Dsysinfo.cpp75 #if defined(_SC_NPROCESSORS_ONLN) in sysconf_nprocs_configured()
84 #if defined(_SC_NPROCESSORS_ONLN) in sysconf_nprocs_online()
85 return ::sysconf(_SC_NPROCESSORS_ONLN); in sysconf_nprocs_online()
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dposix_thread.ipp49 #if defined(_SC_NPROCESSORS_ONLN)
50 long result = sysconf(_SC_NPROCESSORS_ONLN);
53 #endif // defined(_SC_NPROCESSORS_ONLN)
/third_party/boost/boost/asio/detail/impl/
Dposix_thread.ipp49 #if defined(_SC_NPROCESSORS_ONLN)
50 long result = sysconf(_SC_NPROCESSORS_ONLN);
53 #endif // defined(_SC_NPROCESSORS_ONLN)
/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/src/conf/
Dlegacy.c11 return sysconf(_SC_NPROCESSORS_ONLN); in get_nprocs()
Dsysconf.c97 [_SC_NPROCESSORS_ONLN] = JT_NPROCESSORS_ONLN, in sysconf()
/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/glib/glib/
Dgthread.c1094 #elif defined(_SC_NPROCESSORS_ONLN) in g_get_num_processors()
1098 count = sysconf (_SC_NPROCESSORS_ONLN); in g_get_num_processors()
/third_party/skia/third_party/externals/swiftshader/src/System/
DCPUID.cpp119 cores = sysconf(_SC_NPROCESSORS_ONLN); in coreCount()
/third_party/ltp/testcases/realtime/func/sched_football/
Dsched_football.c168 players_per_team = sysconf(_SC_NPROCESSORS_ONLN); in main()
/third_party/skia/src/core/
DSkExecutor.cpp26 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
/third_party/flutter/skia/src/core/
DSkExecutor.cpp27 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
/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/realtime/func/prio-wake/
Dprio-wake.c179 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
/third_party/boost/boost/interprocess/detail/
Dos_thread_functions.hpp458 #ifdef _SC_NPROCESSORS_ONLN
459 long cores = ::sysconf(_SC_NPROCESSORS_ONLN);
/third_party/ffmpeg/libavutil/
Dcpu.c308 #elif HAVE_SYSCONF && defined(_SC_NPROCESSORS_ONLN) in av_cpu_count()
309 nb_cpus = sysconf(_SC_NPROCESSORS_ONLN); in av_cpu_count()
/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/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c125 int child_pairs = sysconf(_SC_NPROCESSORS_ONLN)*4; in reproduce()
/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()

123