/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 | 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() 156 int userclock = CLOCK_REALTIME; in main()
|
D | alarmtimer-suspend.c | 33 #define CLOCK_REALTIME 0 macro 60 case CLOCK_REALTIME: in clockstring()
|
D | leapcrash.c | 75 clock_gettime(CLOCK_REALTIME, &ts); in main()
|
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 | set-timer-lat.c | 33 #define CLOCK_REALTIME 0 macro 61 case CLOCK_REALTIME: in clockstring()
|
D | mqueue-lat.c | 80 clock_gettime(CLOCK_REALTIME, &now); in mqueue_lat_test()
|
/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()
|
/tools/testing/selftests/futex/functional/ |
D | futex_wait_timeout.c | 140 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main() 152 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()
|
/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()
|
/tools/perf/util/ |
D | clockid.c | 42 CLOCKID_MAP("realtime", CLOCK_REALTIME), 49 CLOCKID_MAP("real", CLOCK_REALTIME),
|
/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()
|
D | cpupower-monitor.c | 290 clock_gettime(CLOCK_REALTIME, &start); in fork_it() 312 clock_gettime(CLOCK_REALTIME, &end); in fork_it()
|
/tools/testing/selftests/kvm/x86_64/ |
D | xen_shinfo_test.c | 126 clock_gettime(CLOCK_REALTIME, &min_ts); in main() 250 clock_gettime(CLOCK_REALTIME, &max_ts); in main()
|
/tools/testing/selftests/ptp/ |
D | testptp.c | 330 clock_gettime(CLOCK_REALTIME, &ts); in main() 340 if (clock_settime(CLOCK_REALTIME, &ts)) { in main()
|
/tools/testing/selftests/kvm/ |
D | set_memory_region_test.c | 105 TEST_ASSERT(!clock_gettime(CLOCK_REALTIME, &ts), in wait_for_vcpu()
|
/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 785 if (clock_gettime(CLOCK_REALTIME, &time) == -1) { in acpi_os_wait_semaphore()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_id.c | 115 err = clock_gettime(CLOCK_REALTIME, &real_time_ts); in test_bpf_obj_id()
|
/tools/testing/selftests/net/ |
D | so_txtime.c | 254 now = gettime_ns(CLOCK_REALTIME); in start_time_wait()
|