/linux-6.6.21/kernel/time/ |
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-6.6.21/tools/testing/selftests/futex/functional/ |
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-6.6.21/tools/testing/selftests/timers/ |
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()
|
D | nanosleep.c | 34 #define CLOCK_REALTIME 0 macro 53 case CLOCK_REALTIME: in clockstring() 139 for (clockid = CLOCK_REALTIME; clockid < NR_CLOCKIDS; clockid++) { in main()
|
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()
|
D | inconsistency-check.c | 36 #define CLOCK_REALTIME 0 macro 53 case CLOCK_REALTIME: in clockstring() 154 int userclock = CLOCK_REALTIME; in main()
|
D | alarmtimer-suspend.c | 33 #define CLOCK_REALTIME 0 macro 60 case CLOCK_REALTIME: in clockstring()
|
D | set-timer-lat.c | 33 #define CLOCK_REALTIME 0 macro 61 case CLOCK_REALTIME: in clockstring()
|
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()
|
D | leapcrash.c | 75 clock_gettime(CLOCK_REALTIME, &ts); in main()
|
D | mqueue-lat.c | 80 clock_gettime(CLOCK_REALTIME, &now); in mqueue_lat_test()
|
/linux-6.6.21/include/uapi/linux/ |
D | time.h | 49 #define CLOCK_REALTIME 0 macro 67 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
|
/linux-6.6.21/tools/testing/selftests/vDSO/ |
D | vdso_test_clock_getres.c | 91 #ifdef CLOCK_REALTIME in main() 92 ret += vdso_test_clock(CLOCK_REALTIME); in main()
|
D | vdso_test_abi.c | 199 #ifdef CLOCK_REALTIME in main() 200 vdso_test_clock(CLOCK_REALTIME); in main()
|
/linux-6.6.21/tools/power/cpupower/utils/idle_monitor/ |
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()
|
D | cpuidle_sysfs.c | 47 clock_gettime(CLOCK_REALTIME, &start_time); in cpuidle_start() 64 clock_gettime(CLOCK_REALTIME, &end_time); in cpuidle_stop()
|
D | mperf_monitor.c | 229 clock_gettime(CLOCK_REALTIME, &time_start); in mperf_start() 248 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()
|
/linux-6.6.21/tools/testing/selftests/timens/ |
D | futex.c | 26 if (clockid == CLOCK_REALTIME) in run_test() 95 ret |= run_test(CLOCK_REALTIME); in main()
|
D | timens.h | 44 case CLOCK_REALTIME: in check_skip()
|
/linux-6.6.21/tools/perf/util/ |
D | clockid.c | 42 CLOCKID_MAP("realtime", CLOCK_REALTIME), 49 CLOCKID_MAP("real", CLOCK_REALTIME),
|
/linux-6.6.21/tools/perf/bench/ |
D | uprobe.c | 153 clock_gettime(CLOCK_REALTIME, &start); in bench_uprobe() 159 clock_gettime(CLOCK_REALTIME, &end); in bench_uprobe()
|
/linux-6.6.21/arch/um/drivers/ |
D | rtc_user.c | 35 uml_rtc_irq_fds[0] = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC); in uml_rtc_start()
|
/linux-6.6.21/include/vdso/ |
D | datapage.h | 29 #define VDSO_HRES (BIT(CLOCK_REALTIME) | \
|
/linux-6.6.21/Documentation/translations/zh_CN/userspace-api/ |
D | futex2.rst | 67 参数中指定要使用的时钟类型。支持 ``CLOCK_MONOTONIC`` 和 ``CLOCK_REALTIME`` 。这个
|
/linux-6.6.21/arch/um/os-Linux/ |
D | time.c | 30 clock_gettime(CLOCK_REALTIME, &realtime_tp); in os_persistent_clock_emulation()
|