Home
last modified time | relevance | path

Searched refs:CLOCK_REALTIME (Results 1 – 25 of 108) sorted by relevance

12345

/openbmc/linux/kernel/time/
H A Dposix-stubs.c31 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2()
42 case CLOCK_REALTIME: in do_clock_gettime()
83 case CLOCK_REALTIME: in SYSCALL_DEFINE2()
102 case CLOCK_REALTIME: in SYSCALL_DEFINE4()
134 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2()
166 case CLOCK_REALTIME: in SYSCALL_DEFINE2()
185 case CLOCK_REALTIME: in SYSCALL_DEFINE4()
/openbmc/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c147 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main()
159 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main()
183 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main()
199 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main()
201 res = futex_waitv(&waitv, 1, 0, &to, CLOCK_REALTIME); in main()
/openbmc/linux/tools/testing/selftests/timers/
H A Dleap-a-day.c164 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
166 clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &target, NULL); in test_hrtimer_failure()
167 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
243 clock_gettime(CLOCK_REALTIME, &ts); in main()
296 if (timer_create(CLOCK_REALTIME, &se, &tm1) == -1) { in main()
311 while (clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &ts, NULL)) in main()
H A Dnanosleep.c34 #define CLOCK_REALTIME 0 macro
53 case CLOCK_REALTIME: in clockstring()
139 for (clockid = CLOCK_REALTIME; clockid < NR_CLOCKIDS; clockid++) { in main()
H A Dnsleep-lat.c34 #define CLOCK_REALTIME 0 macro
53 case CLOCK_REALTIME: in clockstring()
149 for (clockid = CLOCK_REALTIME; clockid < NR_CLOCKIDS; clockid++) { in main()
H A Dinconsistency-check.c36 #define CLOCK_REALTIME 0 macro
53 case CLOCK_REALTIME: in clockstring()
154 int userclock = CLOCK_REALTIME; in main()
H A Dalarmtimer-suspend.c33 #define CLOCK_REALTIME 0 macro
60 case CLOCK_REALTIME: in clockstring()
H A Dset-timer-lat.c33 #define CLOCK_REALTIME 0 macro
61 case CLOCK_REALTIME: in clockstring()
H A Dvalid-adjtimex.c221 ret = clock_adjtime(CLOCK_REALTIME, &tmx); in set_offset()
241 ret = clock_adjtime(CLOCK_REALTIME, &tmx); in set_bad_offset()
H A Dleapcrash.c75 clock_gettime(CLOCK_REALTIME, &ts); in main()
/openbmc/linux/include/uapi/linux/
H A Dtime.h49 #define CLOCK_REALTIME 0 macro
67 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
/openbmc/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_clock_getres.c91 #ifdef CLOCK_REALTIME in main()
92 ret += vdso_test_clock(CLOCK_REALTIME); in main()
H A Dvdso_test_abi.c199 #ifdef CLOCK_REALTIME in main()
200 vdso_test_clock(CLOCK_REALTIME); in main()
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Damd_fam14h_idle.c231 clock_gettime(CLOCK_REALTIME, &start_time); in amd_fam14h_start()
237 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_start()
250 clock_gettime(CLOCK_REALTIME, &end_time); in amd_fam14h_stop()
257 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_stop()
H A Dcpuidle_sysfs.c47 clock_gettime(CLOCK_REALTIME, &start_time); in cpuidle_start()
64 clock_gettime(CLOCK_REALTIME, &end_time); in cpuidle_stop()
/openbmc/linux/tools/testing/selftests/timens/
H A Dfutex.c26 if (clockid == CLOCK_REALTIME) in run_test()
95 ret |= run_test(CLOCK_REALTIME); in main()
H A Dtimens.h44 case CLOCK_REALTIME: in check_skip()
/openbmc/linux/tools/perf/util/
H A Dclockid.c42 CLOCKID_MAP("realtime", CLOCK_REALTIME),
49 CLOCKID_MAP("real", CLOCK_REALTIME),
/openbmc/linux/tools/perf/bench/
H A Duprobe.c153 clock_gettime(CLOCK_REALTIME, &start); in bench_uprobe()
159 clock_gettime(CLOCK_REALTIME, &end); in bench_uprobe()
/openbmc/sdeventplus/src/sdeventplus/
H A Dclock.hpp18 RealTime = CLOCK_REALTIME,
/openbmc/linux/arch/um/drivers/
H A Drtc_user.c35 uml_rtc_irq_fds[0] = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC); in uml_rtc_start()
/openbmc/qemu/tests/tcg/hexagon/
H A Dsignal_context.c48 timer_create(CLOCK_REALTIME, &sev, &tid); in main()
/openbmc/linux/include/vdso/
H A Ddatapage.h29 #define VDSO_HRES (BIT(CLOCK_REALTIME) | \
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/
H A D0001-dvbdate-Remove-Obsoleted-stime-API-calls.patch25 + if (clock_settime(CLOCK_REALTIME, &s)) {
/openbmc/hiomapd/
H A Dcommon.c24 clock_gettime(CLOCK_REALTIME, &time); in mbox_log_console()

12345