Searched refs:_SC_NPROCESSORS_ONLN (Results 1 – 25 of 59) sorted by relevance
123
46 # if !defined(_SC_NPROCESSORS_ONLN)47 # define _SC_NPROCESSORS_ONLN 58 macro183 #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()
75 #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()
49 #if defined(_SC_NPROCESSORS_ONLN)50 long result = sysconf(_SC_NPROCESSORS_ONLN);53 #endif // defined(_SC_NPROCESSORS_ONLN)
40 #ifdef _SC_NPROCESSORS_ONLN in get_ncpu()41 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in get_ncpu()
30 #ifdef _SC_NPROCESSORS_ONLN in tst_ncpus()31 ncpus = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_ONLN); in tst_ncpus()
11 return sysconf(_SC_NPROCESSORS_ONLN); in get_nprocs()
97 [_SC_NPROCESSORS_ONLN] = JT_NPROCESSORS_ONLN, in sysconf()
30 if (sysconf(_SC_NPROCESSORS_ONLN) != nprocs) { in get_nprocs_0100()
29 #define _SC_NPROCESSORS_ONLN pthread_num_processors_np() macro
40 printf("%ld\n", sysconf(_SC_NPROCESSORS_ONLN)); in main()
1094 #elif defined(_SC_NPROCESSORS_ONLN) in g_get_num_processors()1098 count = sysconf (_SC_NPROCESSORS_ONLN); in g_get_num_processors()
119 cores = sysconf(_SC_NPROCESSORS_ONLN); in coreCount()
168 players_per_team = sysconf(_SC_NPROCESSORS_ONLN); in main()
26 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
27 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
155 busy_threads = 2 * sysconf(_SC_NPROCESSORS_ONLN); // default busy_threads in main()
179 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
458 #ifdef _SC_NPROCESSORS_ONLN459 long cores = ::sysconf(_SC_NPROCESSORS_ONLN);
308 #elif HAVE_SYSCONF && defined(_SC_NPROCESSORS_ONLN) in av_cpu_count()309 nb_cpus = sysconf(_SC_NPROCESSORS_ONLN); in av_cpu_count()
250 cores = sysconf(_SC_NPROCESSORS_ONLN); in detectCoreCount()
244 num_busy = sysconf(_SC_NPROCESSORS_ONLN); in main()
125 int child_pairs = sysconf(_SC_NPROCESSORS_ONLN)*4; in reproduce()
298 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
119 nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); in checkopt()