Home
last modified time | relevance | path

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

123

/Linux-v4.19/kernel/time/
Dposix-stubs.c66 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2()
77 case CLOCK_REALTIME: in do_clock_gettime()
115 case CLOCK_REALTIME: in SYSCALL_DEFINE2()
133 case CLOCK_REALTIME: in SYSCALL_DEFINE4()
169 if (which_clock != CLOCK_REALTIME) in COMPAT_SYSCALL_DEFINE2()
201 case CLOCK_REALTIME: in COMPAT_SYSCALL_DEFINE2()
219 case CLOCK_REALTIME: in COMPAT_SYSCALL_DEFINE4()
/Linux-v4.19/tools/testing/selftests/timers/
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()
Dnanosleep.c34 #define CLOCK_REALTIME 0 macro
53 case CLOCK_REALTIME: in clockstring()
136 for (clockid = CLOCK_REALTIME; clockid < NR_CLOCKIDS; clockid++) { in main()
Dinconsistency-check.c36 #define CLOCK_REALTIME 0 macro
53 case CLOCK_REALTIME: in clockstring()
156 int userclock = CLOCK_REALTIME; in main()
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()
Dalarmtimer-suspend.c33 #define CLOCK_REALTIME 0 macro
60 case CLOCK_REALTIME: in clockstring()
Dset-timer-lat.c33 #define CLOCK_REALTIME 0 macro
61 case CLOCK_REALTIME: in clockstring()
Dvalid-adjtimex.c221 ret = clock_adjtime(CLOCK_REALTIME, &tmx); in set_offset()
241 ret = clock_adjtime(CLOCK_REALTIME, &tmx); in set_bad_offset()
Dleapcrash.c75 clock_gettime(CLOCK_REALTIME, &ts); in main()
Dmqueue-lat.c80 clock_gettime(CLOCK_REALTIME, &now); in mqueue_lat_test()
/Linux-v4.19/include/uapi/linux/
Dtime.h74 #define CLOCK_REALTIME 0 macro
92 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
/Linux-v4.19/tools/power/cpupower/utils/idle_monitor/
Damd_fam14h_idle.c232 clock_gettime(CLOCK_REALTIME, &start_time); in amd_fam14h_start()
238 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_start()
251 clock_gettime(CLOCK_REALTIME, &end_time); in amd_fam14h_stop()
258 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_stop()
Dcpuidle_sysfs.c49 clock_gettime(CLOCK_REALTIME, &start_time); in cpuidle_start()
66 clock_gettime(CLOCK_REALTIME, &end_time); in cpuidle_stop()
Dmperf_monitor.c192 clock_gettime(CLOCK_REALTIME, &time_start); in mperf_start()
212 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()
Dcpupower-monitor.c290 clock_gettime(CLOCK_REALTIME, &start); in fork_it()
312 clock_gettime(CLOCK_REALTIME, &end); in fork_it()
/Linux-v4.19/arch/nds32/kernel/vdso/
Dgettimeofday.c177 case CLOCK_REALTIME: in __vdso_clock_gettime()
214 case CLOCK_REALTIME: in __vdso_clock_getres()
/Linux-v4.19/arch/powerpc/kernel/vdso32/
Dgettimeofday.S75 cmpli cr0,r3,CLOCK_REALTIME
157 cmpwi cr0,r3,CLOCK_REALTIME
/Linux-v4.19/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c55 if (timing(CLOCK_REALTIME, samples) / 1000000000ULL > 5) in calibrate()
/Linux-v4.19/arch/powerpc/kernel/vdso64/
Dgettimeofday.S64 cmpwi cr0,r3,CLOCK_REALTIME
187 cmpwi cr0,r3,CLOCK_REALTIME
/Linux-v4.19/arch/arm64/kernel/
Dasm-offsets.c99 DEFINE(CLOCK_REALTIME, CLOCK_REALTIME); in main()
/Linux-v4.19/tools/testing/selftests/ptp/
Dtestptp.c324 clock_gettime(CLOCK_REALTIME, &ts); in main()
334 if (clock_settime(CLOCK_REALTIME, &ts)) { in main()
/Linux-v4.19/arch/um/os-Linux/
Dtime.c36 clock_gettime(CLOCK_REALTIME, &realtime_tp); in os_persistent_clock_emulation()
/Linux-v4.19/arch/arm64/kernel/vdso/
Dgettimeofday.S194 jump_slot jumptable, CLOCK_REALTIME, realtime
299 cmp w0, #CLOCK_REALTIME
/Linux-v4.19/Documentation/virtual/kvm/
Dhypercalls.txt102 is supported (corresponding to the host's CLOCK_REALTIME clock).
120 compute the CLOCK_REALTIME for its clock, at the same instant.
/Linux-v4.19/Documentation/timers/
Dhrtimers.txt38 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

123