Home
last modified time | relevance | path

Searched refs:_SC_CLK_TCK (Results 1 – 24 of 24) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D8-1.c84 } while ((cur_time - st_time) < sysconf(_SC_CLK_TCK)); in main()
93 sysconf(_SC_CLK_TCK)); in main()
111 sysconf(_SC_CLK_TCK)) in main()
/external/linux-kselftest/tools/testing/selftests/timers/
Dadjtick.c183 systick = sysconf(_SC_CLK_TCK); in main()
184 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
Dfreq-step.c230 user_hz = sysconf(_SC_CLK_TCK); in init_test()
/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()
/external/syslinux/com32/libutil/include/
Dgetkey.h42 # define CLK_TCK sysconf(_SC_CLK_TCK)
/external/honggfuzz/
Ddisplay.c96 uint64_t cpuUse = (num_cpu * sysconf(_SC_CLK_TCK)) - (idleT - prevIdleT); in getCpuUse()
98 return cpuUse * 100 / sysconf(_SC_CLK_TCK); in getCpuUse()
/external/ltp/testcases/kernel/syscalls/sysconf/
Dsysconf01.c83 test_sysconf(_SC_CLK_TCK); in main()
/external/syslinux/com32/include/
Dmenu.h36 # define CLK_TCK sysconf(_SC_CLK_TCK)
/external/ltp/testcases/kernel/syscalls/adjtimex/
Dadjtimex02.c209 hz = SAFE_SYSCONF(NULL, _SC_CLK_TCK); in setup()
/external/perfetto/src/base/
Dwatchdog_posix.cc190 sysconf(_SC_CLK_TCK); in CheckCpu()
/external/syslinux/com32/modules/
Dcptime.c77 static inline TPS_T get_tps(void) { return sysconf(_SC_CLK_TCK); } in get_tps()
/external/libchrome/base/process/
Dinternal_linux.cc219 static const int kHertz = sysconf(_SC_CLK_TCK); in ClockTicksToTimeDelta()
/external/python/cpython2/Lib/plat-unixware7/
DSTROPTS.py108 _SC_CLK_TCK = 3 variable
/external/dnsmasq/src/
Dutil.c316 tps = sysconf(_SC_CLK_TCK); in dnsmasq_time()
/external/python/cpython3/Modules/
Dtimemodule.c1023 #if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK) in py_process_time()
1024 ticks_per_second = sysconf(_SC_CLK_TCK); in py_process_time()
Dposixmodule.c9819 #ifdef _SC_CLK_TCK
9820 {"SC_CLK_TCK", _SC_CLK_TCK},
12994 # if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK)
12995 ticks_per_second = sysconf(_SC_CLK_TCK);
/external/python/cpython2/Lib/plat-sunos5/
DIN.py195 _SC_CLK_TCK = 3 variable
DSTROPTS.py192 _SC_CLK_TCK = 3 variable
/external/libnl/lib/
Dutils.c433 user_hz = sysconf(_SC_CLK_TCK); in get_psched_settings()
/external/toybox/toys/posix/
Dps.c1202 TT.ticks = sysconf(_SC_CLK_TCK); // units for starttime/uptime in ps_main()
1626 TT.ticks = sysconf(_SC_CLK_TCK); // units for starttime/uptime in top_setup()
/external/iproute2/lib/
Dutils.c810 return sysconf(_SC_CLK_TCK); in __get_user_hz()
/external/python/cpython2/Modules/
Dposixmodule.c8100 #ifdef _SC_CLK_TCK
8101 {"SC_CLK_TCK", _SC_CLK_TCK},
9490 # if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK) in INITFUNC()
9491 ticks_per_second = sysconf(_SC_CLK_TCK); in INITFUNC()
/external/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c1356 hz = sysconf(_SC_CLK_TCK); in main()
/external/toybox/toys/pending/
Dip.c1581 if (!hz) hz = sysconf(_SC_CLK_TCK); in display_route_info()