Home
last modified time | relevance | path

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

123

/netbsd/external/gpl3/gcc.old/dist/libgomp/config/posix/
H A Dproc.c48 #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 Dproc.c48 #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 Dproc.c142 #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 Dproc.c142 #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 Dos.c24 #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 Dos.c34 #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 Dproc.c47 #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 Dproc.c47 #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 Dtuklib_cpucores.c83 # 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 Dthread.cpp75 #if defined(_SC_NPROCESSORS_ONLN) in hardware_concurrency()
76 long result = sysconf(_SC_NPROCESSORS_ONLN); in hardware_concurrency()
/netbsd/lib/librumpuser/
H A Drumpuser.c179 #ifdef _SC_NPROCESSORS_ONLN in gethostncpu()
180 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in gethostncpu()
/netbsd/external/public-domain/xz/dist/m4/
H A Dtuklib_cpucores.m4120 #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 Dsoftint1.c61 for (nt = sysconf(_SC_NPROCESSORS_ONLN); nt > 0; nt--) { in main()
/netbsd/external/gpl3/gcc.old/dist/libgomp/config/rtems/
H A Dproc.c157 return sysconf (_SC_NPROCESSORS_ONLN); in omp_get_num_procs()
/netbsd/external/gpl3/gcc/dist/libgomp/config/rtems/
H A Dproc.c160 return sysconf (_SC_NPROCESSORS_ONLN); in omp_get_num_procs()
/netbsd/sys/sys/
H A Dunistd.h336 #define _SC_NPROCESSORS_ONLN 1002 macro
/netbsd/regress/sys/kern/nameibench/
H A Dnameibench.c207 mt = sysconf(_SC_NPROCESSORS_ONLN); in main()
/netbsd/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dthread.cc54 # define _GLIBCXX_NPROCS sysconf(_SC_NPROCESSORS_ONLN)
/netbsd/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dthread.cc66 # define _GLIBCXX_NPROCS sysconf(_SC_NPROCESSORS_ONLN)
/netbsd/usr.bin/getconf/
H A Dgetconf.c183 { "NPROCESSORS_ONLN", SYSCONF, _SC_NPROCESSORS_ONLN },
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/
H A Dparallelism.d961 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 Dsysconf.c370 case _SC_NPROCESSORS_ONLN: in __weak_alias()
/netbsd/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dctfmerge.c731 #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 Dtaskq.c242 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; in taskq_create()
/netbsd/external/mit/libuv/dist/src/unix/
H A Dibmi.c289 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in uv_cpu_info()

123