/tools/testing/selftests/timers/ |
D | raw_skew.c | 46 unsigned long long ts_to_nsec(struct timespec ts) in ts_to_nsec() 51 struct timespec nsec_to_ts(long long ns) in nsec_to_ts() 53 struct timespec ts; in nsec_to_ts() 60 long long diff_timespec(struct timespec start, struct timespec end) in diff_timespec() 69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw() 71 struct timespec start, mid, end; in get_monotonic_and_raw() 94 struct timespec mon, raw, start, end; in main()
|
D | adjtick.c | 44 unsigned long long ts_to_nsec(struct timespec ts) in ts_to_nsec() 49 struct timespec nsec_to_ts(long long ns) in nsec_to_ts() 51 struct timespec ts; in nsec_to_ts() 59 long long diff_timespec(struct timespec start, struct timespec end) in diff_timespec() 69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw() 71 struct timespec start, mid, end; in get_monotonic_and_raw() 98 struct timespec mon_start, raw_start, mon_end, raw_end; in get_ppm_drift() 170 struct timespec raw; in main()
|
D | mqueue-lat.c | 40 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() 48 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add() 63 struct timespec start, end, now, target; in mqueue_lat_test()
|
D | nanosleep.c | 80 static inline int in_order(struct timespec a, struct timespec b) in in_order() 91 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add() 103 struct timespec now, target, rel; in nanosleep_test()
|
D | nsleep-lat.c | 79 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add() 90 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() 100 struct timespec start, end, target; in nanosleep_lat_test()
|
D | leap-a-day.c | 60 static inline int in_order(struct timespec a, struct timespec b) in in_order() 71 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add() 162 struct timespec now, target; in test_hrtimer_failure() 213 struct timespec ts; in main() 238 struct timespec ts; in main() 331 struct timespec tai; in main()
|
D | alarmtimer-suspend.c | 54 struct timespec start_time; 87 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() 100 struct timespec ts; in sigalarm()
|
D | inconsistency-check.c | 80 static inline int in_order(struct timespec a, struct timespec b) in in_order() 96 struct timespec list[CALLS_PER_LOOP]; in consistency_test() 159 struct timespec ts; in main()
|
D | threadtest.c | 37 struct timespec global_list[LISTSIZE]; 41 void checklist(struct timespec *list, int size) in checklist() 44 struct timespec *a, *b; in checklist() 105 struct timespec my_list[LISTSIZE]; in independent_thread()
|
D | set-timer-lat.c | 54 struct timespec start_time; 88 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() 100 struct timespec ts; in sigalarm()
|
D | freq-step.c | 43 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) in diff_timespec() 51 struct timespec ts1, ts2, ts3; in get_sample() 205 struct timespec ts; in init_test()
|
/tools/testing/selftests/futex/include/ |
D | futextest.h | 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, in futex_lock_pi() 186 struct timespec *timeout, int opflags) in futex_wait_requeue_pi()
|
/tools/testing/radix-tree/ |
D | benchmark.c | 18 struct timespec start, finish; in benchmark_iter() 55 struct timespec start, finish; in benchmark_insert() 76 struct timespec start, finish; in benchmark_tagging() 97 struct timespec start, finish; in benchmark_delete()
|
/tools/power/cpupower/utils/idle_monitor/ |
D | cpupower-monitor.h | 66 extern long long timespec_diff_us(struct timespec start, struct timespec end);
|
D | amd_fam14h_idle.c | 85 static struct timespec start_time; 89 struct timespec dbg_time; 248 struct timespec end_time; in amd_fam14h_stop()
|
D | cpupower-monitor.c | 53 long long timespec_diff_us(struct timespec start, struct timespec end) in timespec_diff_us() 55 struct timespec temp; in timespec_diff_us() 287 struct timespec start, end; in fork_it()
|
/tools/perf/bench/ |
D | futex.h | 44 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() 63 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi()
|
/tools/testing/selftests/x86/ |
D | test_vdso.c | 35 typedef int (*vgettime_t)(clockid_t, struct timespec *); 124 static inline int sys_clock_gettime(clockid_t id, struct timespec *ts) in sys_clock_gettime() 186 static bool ts_leq(const struct timespec *a, const struct timespec *b) in ts_leq() 219 struct timespec start, vdso, end; in test_one_clock_gettime()
|
/tools/include/uapi/sound/ |
D | asound.h | 461 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */ 462 struct timespec tstamp; /* reference timestamp */ 471 struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */ 472 struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */ 474 unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */ 481 struct timespec tstamp; /* Timestamp */ 483 struct timespec audio_tstamp; /* from sample counter or wall clock */ 653 struct timespec tstamp; /* Timestamp */ 765 struct timespec tstamp; /* Timestamp - last update */ 815 struct timespec tstamp; [all …]
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | futex_bench.c | 22 struct timespec ts_start, ts_end; in test_futex()
|
/tools/testing/selftests/networking/timestamping/ |
D | timestamping.c | 142 struct timespec ts; in printpacket() 170 struct timespec *stamp = in printpacket() 171 (struct timespec *)CMSG_DATA(cmsg); in printpacket() 178 struct timespec *stamp = in printpacket() 179 (struct timespec *)CMSG_DATA(cmsg); in printpacket()
|
/tools/leds/ |
D | uledmon.c | 27 struct timespec ts; in main()
|
D | led_hw_brightness_mon.c | 31 struct timespec ts; in main()
|
/tools/testing/selftests/futex/functional/ |
D | futex_wait_wouldblock.c | 41 struct timespec to = {.tv_sec = 0, .tv_nsec = timeout_ns}; in main()
|
D | futex_wait_timeout.c | 43 struct timespec to; in main()
|