/linux/kernel/time/ |
H A D | posix-stubs.c | 31 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()
|
/linux/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_timeout.c | 147 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()
|
/linux/include/uapi/linux/ |
H 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/ |
H 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()
|
H 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()
|
H A D | cpupower-monitor.c | 290 clock_gettime(CLOCK_REALTIME, &start); in fork_it() 312 clock_gettime(CLOCK_REALTIME, &end); in fork_it()
|
/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_clock_getres.c | 91 #ifdef CLOCK_REALTIME in main() 92 ret += vdso_test_clock(CLOCK_REALTIME); in main()
|
H A D | vdso_test_abi.c | 203 #ifdef CLOCK_REALTIME in main() 204 vdso_test_clock(CLOCK_REALTIME); in main()
|
/linux/tools/testing/selftests/timens/ |
H A D | futex.c | 26 if (clockid == CLOCK_REALTIME) in run_test() 95 ret |= run_test(CLOCK_REALTIME); in main()
|
H A D | timens.h | 44 case CLOCK_REALTIME: in check_skip()
|
/linux/tools/perf/util/ |
H A D | clockid.c | 42 CLOCKID_MAP("realtime", CLOCK_REALTIME), 49 CLOCKID_MAP("real", CLOCK_REALTIME),
|
/linux/tools/perf/bench/ |
H A D | uprobe.c | 158 clock_gettime(CLOCK_REALTIME, &start); in bench_uprobe() 164 clock_gettime(CLOCK_REALTIME, &end); in bench_uprobe()
|
/linux/drivers/md/dm-vdo/ |
H A D | time-utils.h | 25 return current_time_ns(CLOCK_REALTIME) / NSEC_PER_USEC; in current_time_us()
|
/linux/arch/um/drivers/ |
H A D | rtc_user.c | 35 uml_rtc_irq_fds[0] = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC); in uml_rtc_start()
|
/linux/tools/testing/selftests/timers/ |
H A D | leapcrash.c | 75 clock_gettime(CLOCK_REALTIME, &ts); in main()
|
/linux/Documentation/translations/zh_CN/userspace-api/ |
H A D | futex2.rst | 67 参数中指定要使用的时钟类型。支持 ``CLOCK_MONOTONIC`` 和 ``CLOCK_REALTIME`` 。这个
|
/linux/arch/um/os-Linux/ |
H A D | time.c | 30 clock_gettime(CLOCK_REALTIME, &realtime_tp); in os_persistent_clock_emulation()
|
/linux/kernel/futex/ |
H A D | syscalls.c | 238 if (clockid == CLOCK_REALTIME) { in futex2_setup_timeout() 243 if (clockid != CLOCK_REALTIME && clockid != CLOCK_MONOTONIC) in futex2_setup_timeout()
|
/linux/lib/vdso/ |
H A D | gettimeofday.c | 323 if (do_hres(&vd[CS_HRES_COARSE], CLOCK_REALTIME, &ts)) in __cvdso_gettimeofday_data() 358 t = READ_ONCE(vd[CS_HRES_COARSE].basetime[CLOCK_REALTIME].sec); in __cvdso_time_data()
|
/linux/Documentation/virt/kvm/devices/ |
H A D | vcpu.rst | 230 kvmclock nanoseconds (guest_src), and host CLOCK_REALTIME nanoseconds 242 kvmclock (guest_src) and CLOCK_REALTIME (host_src) in their respective 248 the guest (e.g., timeouts) unless CLOCK_REALTIME is synchronized
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | kvm_clock_test.c |
|
/linux/Documentation/timers/ |
H A D | hrtimers.rst | 38 the required readjusting of absolute CLOCK_REALTIME timers at 105 absolute timers based on a low-resolution CLOCK_REALTIME. The existing 107 CLOCK_REALTIME timers along with complex locking. In case of
|
/linux/Documentation/virt/kvm/x86/ |
H A D | hypercalls.rst | 115 is supported (corresponding to the host's CLOCK_REALTIME clock). 135 compute the CLOCK_REALTIME for its clock, at the same instant.
|
/linux/drivers/pps/generators/ |
H A D | pps_gen_parport.c | 211 hrtimer_init(&device.timer, CLOCK_REALTIME, HRTIMER_MODE_ABS); in parport_attach()
|
/linux/tools/testing/selftests/hid/ |
H A D | hidraw.c | 190 clock_gettime(CLOCK_REALTIME, &time_to_wait); in TEST_F()
|