/netbsd/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
H A D | proc.c | 48 #ifdef _SC_NPROCESSORS_ONLN in gomp_init_num_threads() 49 gomp_global_icv.nthreads_var = sysconf (_SC_NPROCESSORS_ONLN); in gomp_init_num_threads() 66 #ifdef _SC_NPROCESSORS_ONLN in gomp_dynamic_max_threads() 67 n_onln = sysconf (_SC_NPROCESSORS_ONLN); in gomp_dynamic_max_threads() 95 #ifdef _SC_NPROCESSORS_ONLN in omp_get_num_procs() 96 return sysconf (_SC_NPROCESSORS_ONLN); in omp_get_num_procs()
|
/netbsd/external/gpl3/gcc/dist/libgomp/config/posix/ |
H A D | proc.c | 48 #ifdef _SC_NPROCESSORS_ONLN in gomp_init_num_threads() 49 gomp_global_icv.nthreads_var = sysconf (_SC_NPROCESSORS_ONLN); in gomp_init_num_threads() 66 #ifdef _SC_NPROCESSORS_ONLN in gomp_dynamic_max_threads() 67 n_onln = sysconf (_SC_NPROCESSORS_ONLN); in gomp_dynamic_max_threads() 95 #ifdef _SC_NPROCESSORS_ONLN in omp_get_num_procs() 96 return sysconf (_SC_NPROCESSORS_ONLN); in omp_get_num_procs()
|
/netbsd/external/gpl3/gcc.old/dist/libgomp/config/linux/ |
H A D | proc.c | 142 #ifdef _SC_NPROCESSORS_ONLN in gomp_init_num_threads() 143 gomp_global_icv.nthreads_var = sysconf (_SC_NPROCESSORS_ONLN); in gomp_init_num_threads() 173 #ifdef _SC_NPROCESSORS_ONLN in get_num_procs() 174 return sysconf (_SC_NPROCESSORS_ONLN); in get_num_procs()
|
/netbsd/external/gpl3/gcc/dist/libgomp/config/linux/ |
H A D | proc.c | 142 #ifdef _SC_NPROCESSORS_ONLN in gomp_init_num_threads() 143 gomp_global_icv.nthreads_var = sysconf (_SC_NPROCESSORS_ONLN); in gomp_init_num_threads() 173 #ifdef _SC_NPROCESSORS_ONLN in get_num_procs() 174 return sysconf (_SC_NPROCESSORS_ONLN); in get_num_procs()
|
/netbsd/external/mpl/bind/dist/lib/isc/unix/ |
H A D | os.c | 24 #if defined(_SC_NPROCESSORS_ONLN) in sysconf_ncpus() 25 return (sysconf((_SC_NPROCESSORS_ONLN))); in sysconf_ncpus()
|
/netbsd/external/bsd/ntp/dist/lib/isc/unix/ |
H A D | os.c | 34 #if defined(_SC_NPROCESSORS_ONLN) in sysconf_ncpus() 35 return sysconf((_SC_NPROCESSORS_ONLN)); in sysconf_ncpus()
|
/netbsd/external/gpl3/gcc.old/dist/libgomp/config/bsd/ |
H A D | proc.c | 47 #ifdef _SC_NPROCESSORS_ONLN in get_num_procs() 48 return sysconf (_SC_NPROCESSORS_ONLN); in get_num_procs()
|
/netbsd/external/gpl3/gcc/dist/libgomp/config/bsd/ |
H A D | proc.c | 47 #ifdef _SC_NPROCESSORS_ONLN in get_num_procs() 48 return sysconf (_SC_NPROCESSORS_ONLN); in get_num_procs()
|
/netbsd/external/public-domain/xz/dist/src/common/ |
H A D | tuklib_cpucores.c | 83 # ifdef _SC_NPROCESSORS_ONLN in tuklib_cpucores() 85 const long cpus = sysconf(_SC_NPROCESSORS_ONLN); in tuklib_cpucores()
|
/netbsd/external/apache2/llvm/dist/libcxx/src/ |
H A D | thread.cpp | 75 #if defined(_SC_NPROCESSORS_ONLN) in hardware_concurrency() 76 long result = sysconf(_SC_NPROCESSORS_ONLN); in hardware_concurrency()
|
/netbsd/lib/librumpuser/ |
H A D | rumpuser.c | 179 #ifdef _SC_NPROCESSORS_ONLN in gethostncpu() 180 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in gethostncpu()
|
/netbsd/external/public-domain/xz/dist/m4/ |
H A D | tuklib_cpucores.m4 | 120 #ifdef _SC_NPROCESSORS_ONLN 122 i = sysconf(_SC_NPROCESSORS_ONLN); 167 can be detected with sysconf(_SC_NPROCESSORS_ONLN)
|
/netbsd/regress/sys/kern/softint1/ |
H A D | softint1.c | 61 for (nt = sysconf(_SC_NPROCESSORS_ONLN); nt > 0; nt--) { in main()
|
/netbsd/external/gpl3/gcc.old/dist/libgomp/config/rtems/ |
H A D | proc.c | 157 return sysconf (_SC_NPROCESSORS_ONLN); in omp_get_num_procs()
|
/netbsd/external/gpl3/gcc/dist/libgomp/config/rtems/ |
H A D | proc.c | 160 return sysconf (_SC_NPROCESSORS_ONLN); in omp_get_num_procs()
|
/netbsd/sys/sys/ |
H A D | unistd.h | 336 #define _SC_NPROCESSORS_ONLN 1002 macro
|
/netbsd/regress/sys/kern/nameibench/ |
H A D | nameibench.c | 207 mt = sysconf(_SC_NPROCESSORS_ONLN); in main()
|
/netbsd/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
H A D | thread.cc | 54 # define _GLIBCXX_NPROCS sysconf(_SC_NPROCESSORS_ONLN)
|
/netbsd/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
H A D | thread.cc | 66 # define _GLIBCXX_NPROCS sysconf(_SC_NPROCESSORS_ONLN)
|
/netbsd/usr.bin/getconf/ |
H A D | getconf.c | 183 { "NPROCESSORS_ONLN", SYSCONF, _SC_NPROCESSORS_ONLN },
|
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | parallelism.d | 961 import core.sys.posix.unistd : _SC_NPROCESSORS_ONLN, sysconf; in totalCPUsImpl() 998 return cast(uint) sysconf(_SC_NPROCESSORS_ONLN); in totalCPUsImpl() 1034 import core.sys.posix.unistd : _SC_NPROCESSORS_ONLN, sysconf; in totalCPUsImpl() 1035 return cast(uint) sysconf(_SC_NPROCESSORS_ONLN); in totalCPUsImpl() 1039 import core.sys.posix.unistd : _SC_NPROCESSORS_ONLN, sysconf; in totalCPUsImpl() 1040 return cast(uint) sysconf(_SC_NPROCESSORS_ONLN); in totalCPUsImpl() 1044 import core.sys.posix.unistd : _SC_NPROCESSORS_ONLN, sysconf; in totalCPUsImpl() 1045 return cast(uint) sysconf(_SC_NPROCESSORS_ONLN); in totalCPUsImpl()
|
/netbsd/lib/libc/gen/ |
H A D | sysconf.c | 370 case _SC_NPROCESSORS_ONLN: in __weak_alias()
|
/netbsd/external/cddl/osnet/dist/tools/ctf/cvt/ |
H A D | ctfmerge.c | 731 #ifdef _SC_NPROCESSORS_ONLN in wq_init() 732 wq->wq_nthreads = MIN(sysconf(_SC_NPROCESSORS_ONLN) * 3 / 2, nslots); in wq_init()
|
/netbsd/external/cddl/osnet/dist/lib/libzpool/common/ |
H A D | taskq.c | 242 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; in taskq_create()
|
/netbsd/external/mit/libuv/dist/src/unix/ |
H A D | ibmi.c | 289 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in uv_cpu_info()
|