Home
last modified time | relevance | path

Searched refs:sysconf (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/webrtc/webrtc/base/
Dsysteminfo.cc70 number_of_cores = static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); in DetectNumberOfCores()
183 memory = static_cast<int64_t>(sysconf(_SC_PHYS_PAGES)) * in GetMemorySize()
184 static_cast<int64_t>(sysconf(_SC_PAGESIZE)); in GetMemorySize()
187 << "sysconf(_SC_PHYS_PAGES) " << sysconf(_SC_PHYS_PAGES) in GetMemorySize()
188 << "sysconf(_SC_PAGESIZE) " << sysconf(_SC_PAGESIZE); in GetMemorySize()
/external/v8/src/base/
Dsys-info.cc41 long result = sysconf(_SC_NPROCESSORS_ONLN); // NOLINT(runtime/int) in NumberOfProcessors()
92 int64_t result = sysconf(_SC_AIX_REALMEM); in AmountOfPhysicalMemory()
95 long pages = sysconf(_SC_PHYS_PAGES); // NOLINT(runtime/int) in AmountOfPhysicalMemory()
96 long page_size = sysconf(_SC_PAGESIZE); // NOLINT(runtime/int) in AmountOfPhysicalMemory()
/external/deqp/framework/delibs/dethread/unix/
DdeThreadUnix.c180 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores()
197 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores()
213 const long count = sysconf(_SC_NPROCESSORS_CONF); in deGetNumTotalLogicalCores()
/external/libbrillo/brillo/
Duserdb_utils.cc20 ssize_t buf_len = sysconf(_SC_GETPW_R_SIZE_MAX); in GetUserInfo()
39 ssize_t buf_len = sysconf(_SC_GETGR_R_SIZE_MAX); in GetGroupInfo()
/external/libvpx/libvpx/vp8/common/generic/
Dsystemdependent.c42 core_count = sysconf(_SC_NPROCESSORS_ONLN); in get_cpu_count()
44 core_count = sysconf(_SC_NPROC_ONLN); in get_cpu_count()
/external/libchrome/base/
Dsys_info_linux.cc23 long pages = sysconf(pages_name); in AmountOfMemory()
24 long page_size = sysconf(_SC_PAGESIZE); in AmountOfMemory()
/external/fio/os/
Dos-windows.h93 long sysconf(int name);
157 pagesize = sysconf(_SC_PAGESIZE); in os_phys_mem()
158 pages = sysconf(_SC_PHYS_PAGES); in os_phys_mem()
Dos-android.h184 pagesize = sysconf(_SC_PAGESIZE); in os_phys_mem()
185 pages = sysconf(_SC_PHYS_PAGES); in os_phys_mem()
Dos-linux.h145 pagesize = sysconf(_SC_PAGESIZE); in os_phys_mem()
146 pages = sysconf(_SC_PHYS_PAGES); in os_phys_mem()
Dos-aix.h44 long mem = sysconf(_SC_AIX_REALMEM); in os_phys_mem()
/external/selinux/libselinux/src/
Dsestatus.c266 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_open()
340 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_close()
/external/libselinux/src/
Dsestatus.c266 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_open()
340 pagesize = sysconf(_SC_PAGESIZE); in selinux_status_close()
/external/dhcpcd-6.8.2/compat/
Dclosefrom.c39 max = sysconf(_SC_OPEN_MAX); in closefrom()
/external/ImageMagick/MagickCore/
Dtimer.c195 return((double) times(&timer)/sysconf(_SC_CLK_TCK)); in ElapsedTime()
450 return((double) (timer.tms_utime+timer.tms_stime)/sysconf(_SC_CLK_TCK)); in UserTime()
Dnt-base.h247 #if !defined(sysconf)
248 # define sysconf(name) NTSystemConfiguration(name) macro
/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/valgrind/memcheck/tests/
Dmemalign_test.c11 unsigned long pszB = sysconf(_SC_PAGE_SIZE); in main()
/external/valgrind/tests/
Dsys_mman.h23 long pagesz = sysconf(_SC_PAGE_SIZE); in get_unmapped_page()
/external/strace/tests/
Dumovestr.c35 const size_t page_len = sysconf(_SC_PAGESIZE); in main()
Dtime.c44 const size_t page_len = sysconf(_SC_PAGESIZE); in main()
Dumovestr2.c36 const size_t page_len = sysconf(_SC_PAGESIZE); in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dlarge_allocator_unpoisons_on_free.cc27 const long kPageSize = sysconf(_SC_PAGESIZE); in main()
/external/autotest/client/site_tests/hardware_PerfCounterVerification/src/
DdTLB_benchmark.c9 page_size = sysconf(_SC_PAGESIZE); in main()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsignal_segv_handler.cc31 page_size = sysconf(_SC_PAGESIZE); in main()
/external/harfbuzz_ng/src/
Dhb-blob.cc394 pagesize = (uintptr_t) sysconf (_SC_PAGE_SIZE); in _try_make_writable_inplace_unix()
396 pagesize = (uintptr_t) sysconf (_SC_PAGESIZE); in _try_make_writable_inplace_unix()

1234567891011