Home
last modified time | relevance | path

Searched refs:_SC_NPROCESSORS_CONF (Results 1 – 20 of 20) sorted by relevance

/external/deqp/framework/delibs/dethread/unix/
DdeThreadUnix.c43 # if !defined(_SC_NPROCESSORS_CONF)
44 # define _SC_NPROCESSORS_CONF 57 macro
214 #if defined(_SC_NPROCESSORS_CONF) in deGetNumTotalLogicalCores()
215 const long count = sysconf(_SC_NPROCESSORS_CONF); in deGetNumTotalLogicalCores()
/external/gemmlowp/internal/
Dplatform.h49 #ifndef _SC_NPROCESSORS_CONF
50 #define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_ONLN macro
94 static_cast<int>(sysconf(_SC_NPROCESSORS_CONF));
/external/ltp/lib/
Dtst_cpu.c39 #ifdef _SC_NPROCESSORS_CONF in tst_ncpus_conf()
40 ncpus_conf = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_CONF); in tst_ncpus_conf()
/external/gemmlowp/meta/
Dmulti_thread_common.h26 static_cast<int>(sysconf(_SC_NPROCESSORS_CONF)); in ResolveMaxThreads()
Dlegacy_multi_thread_common.h77 static_cast<int>(sysconf(_SC_NPROCESSORS_CONF)); in ResolveMaxThreads()
/external/perfetto/tools/skippy/
Dskippy.cc39 static size_t num_cpus = static_cast<size_t>(sysconf(_SC_NPROCESSORS_CONF)); in SkippyMain()
/external/ltp/testcases/kernel/syscalls/sched_getaffinity/
Dsched_getaffinity01.c166 num = SAFE_SYSCONF(NULL, _SC_NPROCESSORS_CONF); in setup()
/external/toybox/toys/other/
Dtaskset.c130 if (!nproc) nproc = sysconf(_SC_NPROCESSORS_CONF); in nproc_main()
/external/libchrome/base/
Dsys_info_posix.cc53 long res = sysconf(_SC_NPROCESSORS_CONF); in NumberOfProcessors()
/external/fio/os/
Dos.h355 return sysconf(_SC_NPROCESSORS_CONF); in cpus_online()
/external/python/cpython2/Lib/plat-unixware7/
DSTROPTS.py120 _SC_NPROCESSORS_CONF = 14 variable
/external/perfetto/src/ftrace_reader/
Dftrace_procfs.cc97 static size_t num_cpus = static_cast<size_t>(sysconf(_SC_NPROCESSORS_CONF)); in NumberOfCpus()
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc150 const uint8_t n_cpus = static_cast<uint8_t>(sysconf(_SC_NPROCESSORS_CONF)); in DumpOSInformation()
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc316 sys_info->number_of_processors = sysconf(_SC_NPROCESSORS_CONF); in WriteCPUInformation()
/external/python/cpython2/Lib/plat-sunos5/
DIN.py205 _SC_NPROCESSORS_CONF = 14 variable
DSTROPTS.py202 _SC_NPROCESSORS_CONF = 14 variable
/external/stressapptest/src/
Dsat.cc1482 return sysconf(_SC_NPROCESSORS_CONF); in CpuCount()
/external/toybox/toys/posix/
Dps.c1501 i = sysconf(_SC_NPROCESSORS_CONF); in top_common()
/external/python/cpython2/Modules/
Dposixmodule.c8247 #ifdef _SC_NPROCESSORS_CONF
8248 {"SC_NPROCESSORS_CONF", _SC_NPROCESSORS_CONF},
/external/python/cpython3/Modules/
Dposixmodule.c9966 #ifdef _SC_NPROCESSORS_CONF
9967 {"SC_NPROCESSORS_CONF", _SC_NPROCESSORS_CONF},