/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
D | deThreadUnix.c | 46 # 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/ |
D | ncpu.h | 40 #ifdef _SC_NPROCESSORS_ONLN in get_ncpu() 41 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in get_ncpu()
|
/third_party/ltp/lib/ |
D | tst_cpu.c | 30 #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/ |
D | get_nprocs.c | 30 if (sysconf(_SC_NPROCESSORS_ONLN) != nprocs) { in get_nprocs_0100()
|
/third_party/ltp/utils/benchmark/ebizzy-0.3/ |
D | ebizzy.h | 29 #define _SC_NPROCESSORS_ONLN pthread_num_processors_np() macro
|
/third_party/ltp/testcases/lib/ |
D | tst_getconf.c | 40 printf("%ld\n", sysconf(_SC_NPROCESSORS_ONLN)); in main()
|
/third_party/ffmpeg/libavutil/ |
D | cpu.c | 229 #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/ |
D | CPUID.cpp | 119 cores = sysconf(_SC_NPROCESSORS_ONLN); in coreCount()
|
/third_party/astc-encoder/Source/ |
D | astcenccli_platform_dependents.cpp | 106 return static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); in get_cpu_count()
|
/third_party/ltp/testcases/realtime/func/sched_football/ |
D | sched_football.c | 168 players_per_team = sysconf(_SC_NPROCESSORS_ONLN); in main()
|
/third_party/node/deps/v8/src/base/ |
D | sys-info.cc | 49 long result = sysconf(_SC_NPROCESSORS_ONLN); // NOLINT(runtime/int) in NumberOfProcessors()
|
/third_party/skia/src/core/ |
D | SkExecutor.cpp | 26 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
|
/third_party/ltp/testcases/realtime/func/prio-wake/ |
D | prio-wake.c | 179 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
|
/third_party/ltp/testcases/realtime/func/hrtimer-prio/ |
D | hrtimer-prio.c | 155 busy_threads = 2 * sysconf(_SC_NPROCESSORS_ONLN); // default busy_threads in main()
|
/third_party/ltp/testcases/kernel/security/dirtyc0w_shmem/ |
D | dirtyc0w_shmem_child.c | 186 num_cpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | CPUID.cpp | 250 cores = sysconf(_SC_NPROCESSORS_ONLN); in detectCoreCount()
|
/third_party/ltp/testcases/realtime/func/pi_perf/ |
D | pi_perf.c | 244 num_busy = sysconf(_SC_NPROCESSORS_ONLN); in main()
|
/third_party/libabigail/src/ |
D | abg-workers.cc | 76 {return sysconf(_SC_NPROCESSORS_ONLN);} in get_number_of_threads()
|
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg02.c | 125 int child_pairs = sysconf(_SC_NPROCESSORS_ONLN)*4; in reproduce()
|
/third_party/musl/porting/linux/user/src/conf/ |
D | sysconf.c | 97 [_SC_NPROCESSORS_ONLN] = JT_NPROCESSORS_ONLN, in sysconf()
|
/third_party/ltp/testcases/realtime/func/prio-preempt/ |
D | prio-preempt.c | 298 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/ |
D | cpuset_cpu_hog.c | 119 nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); in checkopt()
|
/third_party/musl/src/conf/ |
D | sysconf.c | 100 [_SC_NPROCESSORS_ONLN] = JT_NPROCESSORS_ONLN, in sysconf()
|
/third_party/mesa3d/src/util/ |
D | u_cpu_detect.c | 633 # 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/ |
D | testpi-7.c | 278 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
|