/Linux-v5.4/kernel/time/ |
D | posix-stubs.c | 64 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2() 75 case CLOCK_REALTIME: in do_clock_gettime() 113 case CLOCK_REALTIME: in SYSCALL_DEFINE2() 131 case CLOCK_REALTIME: in SYSCALL_DEFINE4() 167 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2() 199 case CLOCK_REALTIME: in SYSCALL_DEFINE2() 217 case CLOCK_REALTIME: in SYSCALL_DEFINE4()
|
/Linux-v5.4/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() 136 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() 156 int userclock = CLOCK_REALTIME; 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 | 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-v5.4/include/uapi/linux/ |
D | time.h | 47 #define CLOCK_REALTIME 0 macro 65 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
|
/Linux-v5.4/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 | 191 clock_gettime(CLOCK_REALTIME, &time_start); in mperf_start() 211 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()
|
D | cpupower-monitor.c | 288 clock_gettime(CLOCK_REALTIME, &start); in fork_it() 310 clock_gettime(CLOCK_REALTIME, &end); in fork_it()
|
/Linux-v5.4/include/vdso/ |
D | datapage.h | 12 #define VDSO_HRES (BIT(CLOCK_REALTIME) | \
|
/Linux-v5.4/lib/vdso/ |
D | gettimeofday.c | 151 if (do_hres(&vd[CS_HRES_COARSE], CLOCK_REALTIME, &ts)) in __cvdso_gettimeofday() 170 time_t t = READ_ONCE(vd[CS_HRES_COARSE].basetime[CLOCK_REALTIME].sec); in __cvdso_time()
|
/Linux-v5.4/arch/nds32/kernel/vdso/ |
D | gettimeofday.c | 177 case CLOCK_REALTIME: in __vdso_clock_gettime() 216 case CLOCK_REALTIME: in __vdso_clock_getres()
|
/Linux-v5.4/arch/um/os-Linux/ |
D | time.c | 36 clock_gettime(CLOCK_REALTIME, &realtime_tp); in os_persistent_clock_emulation()
|
/Linux-v5.4/arch/powerpc/kernel/vdso32/ |
D | gettimeofday.S | 71 cmpli cr0,r3,CLOCK_REALTIME 154 cmpwi cr0,r3,CLOCK_REALTIME
|
/Linux-v5.4/tools/testing/selftests/seccomp/ |
D | seccomp_benchmark.c | 55 if (timing(CLOCK_REALTIME, samples) / 1000000000ULL > 5) in calibrate()
|
/Linux-v5.4/arch/powerpc/kernel/vdso64/ |
D | gettimeofday.S | 60 cmpwi cr0,r3,CLOCK_REALTIME 184 cmpwi cr0,r3,CLOCK_REALTIME
|
/Linux-v5.4/arch/sparc/vdso/ |
D | vclock_gettime.c | 259 case CLOCK_REALTIME: in __vdso_clock_gettime() 287 case CLOCK_REALTIME: in __vdso_clock_gettime_stick()
|
/Linux-v5.4/tools/testing/selftests/ptp/ |
D | testptp.c | 316 clock_gettime(CLOCK_REALTIME, &ts); in main() 326 if (clock_settime(CLOCK_REALTIME, &ts)) { in main()
|
/Linux-v5.4/Documentation/virt/kvm/ |
D | hypercalls.txt | 102 is supported (corresponding to the host's CLOCK_REALTIME clock). 120 compute the CLOCK_REALTIME for its clock, at the same instant.
|