/Linux-v4.19/tools/testing/radix-tree/ |
D | benchmark.c | 37 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/ |
D | time.h | 75 #define CLOCK_MONOTONIC 1 macro 92 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) 93 #define CLOCKS_MONO CLOCK_MONOTONIC
|
/Linux-v4.19/kernel/time/ |
D | posix-stubs.c | 80 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/ |
D | futex_bench.c | 25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex() 32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
|
D | mmap_bench.c | 39 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap() 53 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
|
D | null_syscall.c | 141 clock_gettime(CLOCK_MONOTONIC, &tv_start); in main() 146 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
|
/Linux-v4.19/arch/um/os-Linux/ |
D | time.c | 52 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/ |
D | adjtick.c | 75 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()
|
D | mqueue-lat.c | 75 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test() 90 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
|
D | nanosleep.c | 35 #define CLOCK_MONOTONIC 1 macro 55 case CLOCK_MONOTONIC: in clockstring()
|
D | alarmtimer-suspend.c | 34 #define CLOCK_MONOTONIC 1 macro 62 case CLOCK_MONOTONIC: in clockstring()
|
D | inconsistency-check.c | 37 #define CLOCK_MONOTONIC 1 macro 55 case CLOCK_MONOTONIC: in clockstring()
|
D | nsleep-lat.c | 35 #define CLOCK_MONOTONIC 1 macro 55 case CLOCK_MONOTONIC: in clockstring()
|
D | threadtest.c | 92 clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); in shared_thread() 111 clock_gettime(CLOCK_MONOTONIC, &my_list[count]); in independent_thread()
|
D | raw_skew.c | 78 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw() 80 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
|
D | set-timer-lat.c | 34 #define CLOCK_MONOTONIC 1 macro 63 case CLOCK_MONOTONIC: in clockstring()
|
/Linux-v4.19/tools/testing/selftests/powerpc/stringloops/ |
D | strlen.c | 41 clock_gettime(CLOCK_MONOTONIC, &ts_start); in bench_test() 46 clock_gettime(CLOCK_MONOTONIC, &ts_end); in bench_test()
|
/Linux-v4.19/drivers/watchdog/ |
D | softdog.c | 142 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/ |
D | transhuge-stress.c | 108 clock_gettime(CLOCK_MONOTONIC, &a); in main() 136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
|
/Linux-v4.19/tools/build/feature/ |
D | test-timerfd.c | 11 int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in main()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 258 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/ |
D | ltc2952-poweroff.c | 176 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/ |
D | uledmon.c | 57 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
|
D | led_hw_brightness_mon.c | 67 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
|
/Linux-v4.19/samples/bpf/ |
D | tracex4_user.c | 29 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns()
|