| /Linux-v5.4/tools/testing/radix-tree/ |
| D | benchmark.c | 26 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/ |
| D | time.h | 48 #define CLOCK_MONOTONIC 1 macro 65 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) 66 #define CLOCKS_MONO CLOCK_MONOTONIC
|
| /Linux-v5.4/kernel/time/ |
| D | posix-stubs.c | 78 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()
|
| D | tick-broadcast-hrtimer.c | 108 hrtimer_init(&bctimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in tick_setup_hrtimer_broadcast()
|
| /Linux-v5.4/arch/um/os-Linux/ |
| D | time.c | 47 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/ |
| 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 | 137 clock_gettime(CLOCK_MONOTONIC, &tv_start); in main() 142 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
|
| /Linux-v5.4/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 | 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 | 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 | set-timer-lat.c | 34 #define CLOCK_MONOTONIC 1 macro 63 case CLOCK_MONOTONIC: in clockstring()
|
| /Linux-v5.4/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-v5.4/drivers/watchdog/ |
| D | softdog.c | 138 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/ |
| D | transhuge-stress.c | 108 clock_gettime(CLOCK_MONOTONIC, &a); in main() 136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
|
| /Linux-v5.4/tools/build/feature/ |
| D | test-timerfd.c | 11 int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in main()
|
| /Linux-v5.4/drivers/power/reset/ |
| D | ltc2952-poweroff.c | 166 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/ |
| D | uledmon.c | 57 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
|
| /Linux-v5.4/include/vdso/ |
| D | datapage.h | 13 BIT(CLOCK_MONOTONIC) | \
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | test_sockmap.c | 342 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()
|