/linux/kernel/time/ |
A D | posix-stubs.c | 65 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2() 76 case CLOCK_REALTIME: in do_clock_gettime() 116 case CLOCK_REALTIME: in SYSCALL_DEFINE2() 135 case CLOCK_REALTIME: in SYSCALL_DEFINE4() 177 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2() 209 case CLOCK_REALTIME: in SYSCALL_DEFINE2() 228 case CLOCK_REALTIME: in SYSCALL_DEFINE4()
|
/linux/tools/testing/selftests/futex/functional/ |
A D | futex_wait_timeout.c | 143 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main() 155 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main() 176 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main() 192 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main() 194 res = futex_waitv(&waitv, 1, 0, &to, CLOCK_REALTIME); in main()
|
/linux/tools/testing/selftests/timers/ |
A D | leap-a-day.c | 164 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()
|
A D | nanosleep.c | 34 #define CLOCK_REALTIME 0 macro 53 case CLOCK_REALTIME: in clockstring() 136 for (clockid = CLOCK_REALTIME; clockid < NR_CLOCKIDS; clockid++) { in main()
|
A D | inconsistency-check.c | 36 #define CLOCK_REALTIME 0 macro 53 case CLOCK_REALTIME: in clockstring() 156 int userclock = CLOCK_REALTIME; in main()
|
A D | nsleep-lat.c | 34 #define CLOCK_REALTIME 0 macro 53 case CLOCK_REALTIME: in clockstring() 149 for (clockid = CLOCK_REALTIME; clockid < NR_CLOCKIDS; clockid++) { in main()
|
A D | alarmtimer-suspend.c | 33 #define CLOCK_REALTIME 0 macro 60 case CLOCK_REALTIME: in clockstring()
|
A D | set-timer-lat.c | 33 #define CLOCK_REALTIME 0 macro 61 case CLOCK_REALTIME: in clockstring()
|
A D | valid-adjtimex.c | 222 ret = clock_adjtime(CLOCK_REALTIME, &tmx); in set_offset() 242 ret = clock_adjtime(CLOCK_REALTIME, &tmx); in set_bad_offset()
|
A D | leapcrash.c | 75 clock_gettime(CLOCK_REALTIME, &ts); in main()
|
A D | mqueue-lat.c | 80 clock_gettime(CLOCK_REALTIME, &now); in mqueue_lat_test()
|
/linux/include/uapi/linux/ |
A D | time.h | 49 #define CLOCK_REALTIME 0 macro 67 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
|
/linux/tools/power/cpupower/utils/idle_monitor/ |
A D | amd_fam14h_idle.c | 231 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()
|
A D | cpuidle_sysfs.c | 47 clock_gettime(CLOCK_REALTIME, &start_time); in cpuidle_start() 64 clock_gettime(CLOCK_REALTIME, &end_time); in cpuidle_stop()
|
A D | mperf_monitor.c | 230 clock_gettime(CLOCK_REALTIME, &time_start); in mperf_start() 250 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()
|
/linux/tools/testing/selftests/vDSO/ |
A D | vdso_test_clock_getres.c | 91 #ifdef CLOCK_REALTIME in main() 92 ret = vdso_test_clock(CLOCK_REALTIME); in main()
|
A D | vdso_test_abi.c | 208 #ifdef CLOCK_REALTIME in main() 209 ret += vdso_test_clock(CLOCK_REALTIME); in main()
|
/linux/tools/testing/selftests/timens/ |
A D | futex.c | 26 if (clockid == CLOCK_REALTIME) in run_test() 95 ret |= run_test(CLOCK_REALTIME); in main()
|
A D | timens.h | 44 case CLOCK_REALTIME: in check_skip()
|
/linux/tools/perf/util/ |
A D | clockid.c | 42 CLOCKID_MAP("realtime", CLOCK_REALTIME), 49 CLOCKID_MAP("real", CLOCK_REALTIME),
|
/linux/arch/nds32/kernel/vdso/ |
A D | gettimeofday.c | 174 case CLOCK_REALTIME: in __vdso_clock_gettime() 213 case CLOCK_REALTIME: in __vdso_clock_getres()
|
/linux/arch/um/drivers/ |
A D | rtc_user.c | 35 uml_rtc_irq_fds[0] = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC); in uml_rtc_start()
|
/linux/include/vdso/ |
A D | datapage.h | 29 #define VDSO_HRES (BIT(CLOCK_REALTIME) | \
|
/linux/arch/sparc/vdso/ |
A D | vclock_gettime.c | 259 case CLOCK_REALTIME: in __vdso_clock_gettime() 287 case CLOCK_REALTIME: in __vdso_clock_gettime_stick()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | xen_shinfo_test.c | 159 clock_gettime(CLOCK_REALTIME, &min_ts); in main() 307 clock_gettime(CLOCK_REALTIME, &max_ts); in main()
|