Searched refs:_SC_NPROCESSORS_ONLN (Results 1 – 25 of 66) sorted by relevance
123
46 # if !defined(_SC_NPROCESSORS_ONLN)47 # define _SC_NPROCESSORS_ONLN 58 macro181 #if defined(_SC_NPROCESSORS_ONLN) in deGetNumAvailableLogicalCores()182 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores()198 #if defined(_SC_NPROCESSORS_ONLN) in deGetNumAvailableLogicalCores()199 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores()
40 #ifdef _SC_NPROCESSORS_ONLN in get_ncpu()41 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in get_ncpu()
28 #ifdef _SC_NPROCESSORS_ONLN in tst_ncpus()29 ncpus = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_ONLN); in tst_ncpus()
41 #if defined(_SC_NPROCESSORS_ONLN) in get_cpu_count()42 core_count = (int)sysconf(_SC_NPROCESSORS_ONLN); in get_cpu_count()
86 #elif defined(_SC_NPROCESSORS_ONLN) in hardware_concurrency()87 long result = sysconf(_SC_NPROCESSORS_ONLN); in hardware_concurrency()
901 c0 = sysconf(_SC_NPROCESSORS_ONLN) * ticktime * 1000 * FREQ - totalticks; in main()906 percentage = c0 * 100.0 / (sysconf(_SC_NPROCESSORS_ONLN) * ticktime * 1000 * FREQ); in main()916 (sysconf(_SC_NPROCESSORS_ONLN) * ticktime * 1000 * FREQ); in main()1003 d = strtoull(line, NULL, 10) / sysconf(_SC_NPROCESSORS_ONLN); in main()1005 totalevents = d * sysconf(_SC_NPROCESSORS_ONLN) + total_interrupt; in main()1015 wakeups_per_second = totalevents * 1.0 / ticktime / sysconf(_SC_NPROCESSORS_ONLN); in main()1016 …show_wakeups(wakeups_per_second, ticktime, c0 * 100.0 / (sysconf(_SC_NPROCESSORS_ONLN) * ticktime … in main()
29 #define _SC_NPROCESSORS_ONLN pthread_num_processors_np() macro
98 threads = sysconf(_SC_NPROCESSORS_ONLN) * 4; in tm_vmx_unavail_test()
108 thread_num = 10 * sysconf(_SC_NPROCESSORS_ONLN); in test_tmspr()
64 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_fpu()
64 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_vmx()
99 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_vsx()
85 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_signal_fpu()
103 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_signal_vmx()
50 #define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_ONLN
314 #elif defined(PIPE_OS_UNIX) && defined(_SC_NPROCESSORS_ONLN) in util_cpu_detect()315 util_cpu_caps.nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); in util_cpu_detect()
168 players_per_team = sysconf(_SC_NPROCESSORS_ONLN); in main()
41 long result = sysconf(_SC_NPROCESSORS_ONLN); // NOLINT(runtime/int) in NumberOfProcessors()
154 int num_cores = sysconf(_SC_NPROCESSORS_ONLN); in ithread_set_affinity()
161 int num_cores = sysconf(_SC_NPROCESSORS_ONLN); in ithread_set_affinity()
179 int num_cores = sysconf(_SC_NPROCESSORS_ONLN); in ithread_set_affinity()
108 const unsigned int max_cpus = sysconf(_SC_NPROCESSORS_ONLN); in fio_cpu_isset()
27 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
70 number_of_cores = static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); in DetectNumberOfCores()