Home
last modified time | relevance | path

Searched refs:_SC_NPROCESSORS_CONF (Results 1 – 25 of 25) 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/grpc-grpc/src/core/lib/gpr/
Dcpu_linux.cc48 ncpus = static_cast<int>(sysconf(_SC_NPROCESSORS_CONF)); in init_num_cpus()
Dcpu_posix.cc40 ncpus = sysconf(_SC_NPROCESSORS_CONF); in init_ncpus()
/external/perfetto/tools/skippy/
Dskippy.cc39 static size_t num_cpus = static_cast<size_t>(sysconf(_SC_NPROCESSORS_CONF)); in SkippyMain()
/external/iperf3/src/
Dmain.c86 if ((ncores = sysconf(_SC_NPROCESSORS_CONF)) <= 0) in main()
/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/perfetto/tools/dump_ftrace_stats/
Dmain.cc44 static size_t num_cpus = static_cast<size_t>(sysconf(_SC_NPROCESSORS_CONF)); in NumberOfCpus()
/external/libchrome/base/
Dsys_info_posix.cc56 long res = sysconf(_SC_NPROCESSORS_CONF); in NumberOfProcessors()
/external/python/cpython2/Lib/plat-unixware7/
DSTROPTS.py120 _SC_NPROCESSORS_CONF = 14 variable
/external/perfetto/src/traced/probes/ftrace/
Dftrace_procfs.cc121 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/toybox/toys/posix/
Dgetconf.c115 {"_NPROCESSORS_CONF", _SC_NPROCESSORS_CONF},
Dps.c1605 i = sysconf(_SC_NPROCESSORS_CONF); in top_common()
/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/blktrace/
Dblktrace.c2728 ncpu = sysconf(_SC_NPROCESSORS_CONF); in get_online_cpus()
/external/python/cpython2/Modules/
Dposixmodule.c8281 #ifdef _SC_NPROCESSORS_CONF
8282 {"SC_NPROCESSORS_CONF", _SC_NPROCESSORS_CONF},
/external/python/cpython3/Modules/
Dposixmodule.c10373 #ifdef _SC_NPROCESSORS_CONF
10374 {"SC_NPROCESSORS_CONF", _SC_NPROCESSORS_CONF},