Home
last modified time | relevance | path

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

123

/external/deqp/framework/delibs/dethread/unix/
DdeThreadUnix.c46 # if !defined(_SC_NPROCESSORS_ONLN)
47 # define _SC_NPROCESSORS_ONLN 58 macro
181 #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()
/external/ltp/testcases/open_posix_testsuite/include/
Dncpu.h40 #ifdef _SC_NPROCESSORS_ONLN in get_ncpu()
41 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in get_ncpu()
/external/ltp/lib/
Dtst_cpu.c28 #ifdef _SC_NPROCESSORS_ONLN in tst_ncpus()
29 ncpus = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_ONLN); in tst_ncpus()
/external/libvpx/libvpx/vp8/common/generic/
Dsystemdependent.c41 #if defined(_SC_NPROCESSORS_ONLN) in get_cpu_count()
42 core_count = (int)sysconf(_SC_NPROCESSORS_ONLN); in get_cpu_count()
/external/libcxx/src/
Dthread.cpp86 #elif defined(_SC_NPROCESSORS_ONLN) in hardware_concurrency()
87 long result = sysconf(_SC_NPROCESSORS_ONLN); in hardware_concurrency()
/external/autotest/client/profilers/powertop/src/
Dpowertop.c901 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()
/external/ltp/utils/benchmark/ebizzy-0.3/
Debizzy.h29 #define _SC_NPROCESSORS_ONLN pthread_num_processors_np() macro
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c98 threads = sysconf(_SC_NPROCESSORS_ONLN) * 4; in tm_vmx_unavail_test()
Dtm-tmspr.c108 thread_num = 10 * sysconf(_SC_NPROCESSORS_ONLN); in test_tmspr()
/external/linux-kselftest/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c64 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_fpu()
Dvmx_preempt.c64 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_vmx()
Dvsx_preempt.c99 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_vsx()
Dfpu_signal.c85 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_signal_fpu()
Dvmx_signal.c103 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_signal_vmx()
/external/gemmlowp/internal/
Dplatform.h50 #define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_ONLN
/external/mesa3d/src/gallium/auxiliary/util/
Du_cpu_detect.c314 #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()
/external/ltp/testcases/realtime/func/sched_football/
Dsched_football.c168 players_per_team = sysconf(_SC_NPROCESSORS_ONLN); in main()
/external/v8/src/base/
Dsys-info.cc41 long result = sysconf(_SC_NPROCESSORS_ONLN); // NOLINT(runtime/int) in NumberOfProcessors()
/external/libhevc/common/
Dithread.c154 int num_cores = sysconf(_SC_NPROCESSORS_ONLN); in ithread_set_affinity()
/external/libmpeg2/common/
Dithread.c161 int num_cores = sysconf(_SC_NPROCESSORS_ONLN); in ithread_set_affinity()
/external/libavc/common/
Dithread.c179 int num_cores = sysconf(_SC_NPROCESSORS_ONLN); in ithread_set_affinity()
/external/fio/os/
Dos-solaris.h108 const unsigned int max_cpus = sysconf(_SC_NPROCESSORS_ONLN); in fio_cpu_isset()
/external/skia/src/core/
DSkExecutor.cpp27 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
/external/skqp/src/core/
DSkExecutor.cpp27 return (int)sysconf(_SC_NPROCESSORS_ONLN); in num_cores()
/external/webrtc/webrtc/base/
Dsysteminfo.cc70 number_of_cores = static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); in DetectNumberOfCores()

123