Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D8-1.c81 } while ((cur_time - st_time) < sysconf(_SC_CLK_TCK)); in main()
90 sysconf(_SC_CLK_TCK)); in main()
108 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.c213 return((double) times(&timer)/sysconf(_SC_CLK_TCK)); in ElapsedTime()
468 return((double) (timer.tms_utime+timer.tms_stime)/sysconf(_SC_CLK_TCK)); in UserTime()
/external/ltp/testcases/kernel/syscalls/sysconf/
Dsysconf01.c83 test_sysconf(_SC_CLK_TCK); in main()
/external/ltp/testcases/kernel/syscalls/adjtimex/
Dadjtimex02.c209 hz = SAFE_SYSCONF(NULL, _SC_CLK_TCK); in setup()
/external/python/cpython2/Lib/plat-unixware7/
DSTROPTS.py108 _SC_CLK_TCK = 3 variable
/external/perfetto/src/base/
Dwatchdog_posix.cc201 sysconf(_SC_CLK_TCK); in CheckCpu()
/external/libchrome/base/process/
Dinternal_linux.cc224 static const int kHertz = sysconf(_SC_CLK_TCK); in ClockTicksToTimeDelta()
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc80 ns_per_user_hz_ = 1000000000ull / static_cast<uint64_t>(sysconf(_SC_CLK_TCK)); in SysStatsDataSource()
/external/dnsmasq/src/
Dutil.c272 if (tps == 0) tps = sysconf(_SC_CLK_TCK); in dnsmasq_time()
/external/python/cpython3/Modules/
Dtimemodule.c1207 #if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK) in _PyTime_GetProcessTimeWithInfo()
1208 freq = sysconf(_SC_CLK_TCK); in _PyTime_GetProcessTimeWithInfo()
Dposixmodule.c10226 #ifdef _SC_CLK_TCK
10227 {"SC_CLK_TCK", _SC_CLK_TCK},
13495 # if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK) in INITFUNC()
13496 ticks_per_second = sysconf(_SC_CLK_TCK); in INITFUNC()
/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.c1281 TT.ticks = sysconf(_SC_CLK_TCK); // units for starttime/uptime in ps_main()
1734 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.c8134 #ifdef _SC_CLK_TCK
8135 {"SC_CLK_TCK", _SC_CLK_TCK},
9524 # if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK) in INITFUNC()
9525 ticks_per_second = sysconf(_SC_CLK_TCK); in INITFUNC()
/external/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c1359 hz = sysconf(_SC_CLK_TCK); in main()
/external/toybox/toys/pending/
Dip.c1581 if (!hz) hz = sysconf(_SC_CLK_TCK); in display_route_info()