Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC (Results 1 – 25 of 177) sorted by relevance

12345678

/Linux-v5.4/tools/testing/radix-tree/
Dbenchmark.c26 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_iter()
36 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_iter()
59 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_insert()
64 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_insert()
80 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_tagging()
85 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_tagging()
101 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_delete()
106 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_delete()
/Linux-v5.4/include/uapi/linux/
Dtime.h48 #define CLOCK_MONOTONIC 1 macro
65 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
66 #define CLOCKS_MONO CLOCK_MONOTONIC
/Linux-v5.4/kernel/time/
Dposix-stubs.c78 case CLOCK_MONOTONIC: in do_clock_gettime()
114 case CLOCK_MONOTONIC: in SYSCALL_DEFINE2()
132 case CLOCK_MONOTONIC: in SYSCALL_DEFINE4()
200 case CLOCK_MONOTONIC: in SYSCALL_DEFINE2()
218 case CLOCK_MONOTONIC: in SYSCALL_DEFINE4()
Dtick-broadcast-hrtimer.c108 hrtimer_init(&bctimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in tick_setup_hrtimer_broadcast()
/Linux-v5.4/arch/um/os-Linux/
Dtime.c47 if (timer_create(CLOCK_MONOTONIC, NULL, t) == -1) in os_timer_create()
98 clock_gettime(CLOCK_MONOTONIC,&ts); in os_nsecs()
116 if (clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL)) in os_idle_sleep()
/Linux-v5.4/tools/testing/selftests/powerpc/benchmarks/
Dfutex_bench.c25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex()
32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
Dmmap_bench.c39 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap()
53 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
Dnull_syscall.c137 clock_gettime(CLOCK_MONOTONIC, &tv_start); in main()
142 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
/Linux-v5.4/tools/testing/selftests/timers/
Dadjtick.c75 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw()
82 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
84 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
Dmqueue-lat.c75 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test()
90 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
Dnanosleep.c35 #define CLOCK_MONOTONIC 1 macro
55 case CLOCK_MONOTONIC: in clockstring()
Dalarmtimer-suspend.c34 #define CLOCK_MONOTONIC 1 macro
62 case CLOCK_MONOTONIC: in clockstring()
Dinconsistency-check.c37 #define CLOCK_MONOTONIC 1 macro
55 case CLOCK_MONOTONIC: in clockstring()
Dnsleep-lat.c35 #define CLOCK_MONOTONIC 1 macro
55 case CLOCK_MONOTONIC: in clockstring()
Draw_skew.c78 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
80 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
Dthreadtest.c92 clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); in shared_thread()
111 clock_gettime(CLOCK_MONOTONIC, &my_list[count]); in independent_thread()
Dset-timer-lat.c34 #define CLOCK_MONOTONIC 1 macro
63 case CLOCK_MONOTONIC: in clockstring()
/Linux-v5.4/tools/testing/selftests/powerpc/stringloops/
Dstrlen.c41 clock_gettime(CLOCK_MONOTONIC, &ts_start); in bench_test()
46 clock_gettime(CLOCK_MONOTONIC, &ts_end); in bench_test()
/Linux-v5.4/drivers/watchdog/
Dsoftdog.c138 hrtimer_init(&softdog_ticktock, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in softdog_init()
143 hrtimer_init(&softdog_preticktock, CLOCK_MONOTONIC, in softdog_init()
/Linux-v5.4/tools/testing/selftests/vm/
Dtranshuge-stress.c108 clock_gettime(CLOCK_MONOTONIC, &a); in main()
136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
/Linux-v5.4/tools/build/feature/
Dtest-timerfd.c11 int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in main()
/Linux-v5.4/drivers/power/reset/
Dltc2952-poweroff.c166 hrtimer_init(&data->timer_trigger, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ltc2952_poweroff_default()
169 hrtimer_init(&data->timer_wde, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ltc2952_poweroff_default()
/Linux-v5.4/tools/leds/
Duledmon.c57 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
/Linux-v5.4/include/vdso/
Ddatapage.h13 BIT(CLOCK_MONOTONIC) | \
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_sockmap.c342 clock_gettime(CLOCK_MONOTONIC, &s->start); in msg_loop_sendpage()
359 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop_sendpage()
461 clock_gettime(CLOCK_MONOTONIC, &s->start); in msg_loop()
476 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
500 err = clock_gettime(CLOCK_MONOTONIC, &s->start); in msg_loop()
519 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
525 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
535 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
545 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
574 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()

12345678