Home
last modified time | relevance | path

Searched refs:CLOCK_BOOTTIME (Results 1 – 22 of 22) sorted by relevance

/tools/perf/util/
A Dclockid.c29 #ifndef CLOCK_BOOTTIME
30 #define CLOCK_BOOTTIME 7 macro
43 CLOCKID_MAP("boottime", CLOCK_BOOTTIME),
50 CLOCKID_MAP("boot", CLOCK_BOOTTIME),
/tools/testing/selftests/bpf/progs/
A Dtimer.c235 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
242 if (bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
260 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
267 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
278 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
283 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
290 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
295 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
327 if (bpf_timer_init(timer, &abs_timer, CLOCK_BOOTTIME) != 0) in BPF_PROG2()
368 if (bpf_timer_init(timer, map, CLOCK_BOOTTIME) != 0) in test_pinned_timer()
A Dtimer_lockup.c65 bpf_timer_init(timer, &timer1_map, CLOCK_BOOTTIME); in timer1_prog()
81 bpf_timer_init(timer, &timer2_map, CLOCK_BOOTTIME); in timer2_prog()
A Dtimer_failure.c62 bpf_timer_init(timer, &timer_map, CLOCK_BOOTTIME); in __flag()
/tools/testing/selftests/timens/
A Dtimerfd.c21 clockid = CLOCK_BOOTTIME; in tclock_gettime()
94 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
101 CLOCK_BOOTTIME, 9 * 24 * 3600); in main()
118 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
A Dgettime_perf.c79 test(CLOCK_BOOTTIME, "boottime", false); in main()
92 if (_settime(CLOCK_BOOTTIME, offset)) in main()
101 test(CLOCK_BOOTTIME, "boottime", true); in main()
A Dtimer.c87 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
94 CLOCK_BOOTTIME, 9 * 24 * 3600); in main()
111 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
A Dtimens.h42 case CLOCK_BOOTTIME: in check_skip()
A Dclock_nanosleep.c131 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
A Dprocfs.c62 if (_settime(CLOCK_BOOTTIME, TEN_DAYS_IN_SEC)) in init_namespaces()
A Dtimens.c38 ct(CLOCK_BOOTTIME, -1),
/tools/testing/selftests/vDSO/
A Dvdso_test_clock_getres.c94 #ifdef CLOCK_BOOTTIME in main()
95 ret += vdso_test_clock(CLOCK_BOOTTIME); in main()
A Dvdso_test_abi.c207 #ifdef CLOCK_BOOTTIME in main()
208 vdso_test_clock(CLOCK_BOOTTIME); in main()
/tools/testing/selftests/proc/
A Dproc-uptime.h31 err = clock_gettime(CLOCK_BOOTTIME, &ts); in clock_boottime()
/tools/testing/selftests/timers/
A Dalarmtimer-suspend.c60 case CLOCK_BOOTTIME: in clockstring()
A Dnanosleep.c55 case CLOCK_BOOTTIME: in clockstring()
A Dnsleep-lat.c54 case CLOCK_BOOTTIME: in clockstring()
A Dinconsistency-check.c56 case CLOCK_BOOTTIME: in clockstring()
A Dset-timer-lat.c63 case CLOCK_BOOTTIME: in clockstring()
/tools/testing/selftests/bpf/prog_tests/
A Dbpf_obj_id.c111 err = clock_gettime(CLOCK_BOOTTIME, &boot_time_ts); in serial_test_bpf_obj_id()
/tools/bpf/bpftool/
A Dprog.c168 clock_gettime(CLOCK_BOOTTIME, &boot_time_ts)) { in print_boot_time()
/tools/perf/Documentation/
A Dperf-record.txt526 CLOCK_BOOTTIME, CLOCK_REALTIME and CLOCK_TAI.

Completed in 28 milliseconds