Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/tools/testing/radix-tree/
Dbenchmark.c37 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_iter()
47 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_iter()
70 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_insert()
75 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_insert()
91 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_tagging()
96 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_tagging()
112 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_delete()
118 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_delete()
158 clock_gettime(CLOCK_MONOTONIC, &start); in __benchmark_split()
160 clock_gettime(CLOCK_MONOTONIC, &finish); in __benchmark_split()
[all …]
/Linux-v4.19/include/uapi/linux/
Dtime.h75 #define CLOCK_MONOTONIC 1 macro
92 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
93 #define CLOCKS_MONO CLOCK_MONOTONIC
/Linux-v4.19/kernel/time/
Dposix-stubs.c80 case CLOCK_MONOTONIC: in do_clock_gettime()
116 case CLOCK_MONOTONIC: in SYSCALL_DEFINE2()
134 case CLOCK_MONOTONIC: in SYSCALL_DEFINE4()
202 case CLOCK_MONOTONIC: in COMPAT_SYSCALL_DEFINE2()
220 case CLOCK_MONOTONIC: in COMPAT_SYSCALL_DEFINE4()
/Linux-v4.19/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.c141 clock_gettime(CLOCK_MONOTONIC, &tv_start); in main()
146 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
/Linux-v4.19/arch/um/os-Linux/
Dtime.c52 CLOCK_MONOTONIC, in os_timer_create()
162 clock_gettime(CLOCK_MONOTONIC,&ts); in os_nsecs()
186 if (clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL)) { in os_idle_sleep()
/Linux-v4.19/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()
Dthreadtest.c92 clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); in shared_thread()
111 clock_gettime(CLOCK_MONOTONIC, &my_list[count]); in independent_thread()
Draw_skew.c78 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
80 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
Dset-timer-lat.c34 #define CLOCK_MONOTONIC 1 macro
63 case CLOCK_MONOTONIC: in clockstring()
/Linux-v4.19/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-v4.19/drivers/watchdog/
Dsoftdog.c142 hrtimer_init(&softdog_ticktock, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in softdog_init()
147 hrtimer_init(&softdog_preticktock, CLOCK_MONOTONIC, in softdog_init()
/Linux-v4.19/tools/testing/selftests/vm/
Dtranshuge-stress.c108 clock_gettime(CLOCK_MONOTONIC, &a); in main()
136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
/Linux-v4.19/tools/build/feature/
Dtest-timerfd.c11 int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in main()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_sockmap.c258 clock_gettime(CLOCK_MONOTONIC, &s->start); in msg_loop_sendpage()
275 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop_sendpage()
319 clock_gettime(CLOCK_MONOTONIC, &s->start); in msg_loop()
334 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
351 err = clock_gettime(CLOCK_MONOTONIC, &s->start); in msg_loop()
370 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
376 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
383 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
416 clock_gettime(CLOCK_MONOTONIC, &s->end); in msg_loop()
/Linux-v4.19/drivers/power/reset/
Dltc2952-poweroff.c176 hrtimer_init(&data->timer_trigger, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ltc2952_poweroff_default()
179 hrtimer_init(&data->timer_wde, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ltc2952_poweroff_default()
/Linux-v4.19/tools/leds/
Duledmon.c57 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
Dled_hw_brightness_mon.c67 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
/Linux-v4.19/samples/bpf/
Dtracex4_user.c29 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns()

1234567