Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 20 of 20) sorted by relevance

/support/
A Dtimespec.h27 static inline struct timespec
30 struct timespec r; in make_timespec()
39 struct timespec timespec_add (struct timespec, struct timespec)
41 struct timespec timespec_sub (struct timespec, struct timespec)
54 struct timespec support_timespec_normalize (struct timespec time);
61 struct timespec __REDIRECT (timespec_add, (struct timespec, struct timespec),
63 struct timespec __REDIRECT (timespec_sub, (struct timespec, struct timespec),
66 struct timespec left,
67 struct timespec right),
70 struct timespec left,
[all …]
A Dxtime.h34 void xclock_gettime (clockid_t clock, struct timespec *ts);
35 void xclock_settime (clockid_t clock, const struct timespec *ts);
37 void __REDIRECT (xclock_gettime, (clockid_t clock, struct timespec *ts),
39 void __REDIRECT (xclock_settime, (clockid_t clock, const struct timespec *ts),
46 static inline struct timespec xclock_now (clockid_t clock) in xclock_now()
48 struct timespec ts; in xclock_now()
A Dtimespec.c26 test_timespec_before_impl (const char *file, int line, struct timespec left, in test_timespec_before_impl()
27 struct timespec right) in test_timespec_before_impl()
33 const struct timespec diff = timespec_sub (left, right); in test_timespec_before_impl()
45 struct timespec left, in test_timespec_equal_or_after_impl()
46 struct timespec right) in test_timespec_equal_or_after_impl()
52 const struct timespec diff = timespec_sub (right, left); in test_timespec_equal_or_after_impl()
66 support_timespec_ns (struct timespec time) in support_timespec_ns()
80 struct timespec
81 support_timespec_normalize (struct timespec time) in support_timespec_normalize()
83 struct timespec norm; in support_timespec_normalize()
[all …]
A Dtimespec-add.c28 struct timespec
29 timespec_add (struct timespec a, struct timespec b) in timespec_add()
64 return (struct timespec) { .tv_sec = rs, .tv_nsec = rns }; in timespec_add()
A Dtimespec-sub.c29 struct timespec
30 timespec_sub (struct timespec a, struct timespec b) in timespec_sub()
64 return (struct timespec) { .tv_sec = rs, .tv_nsec = rns }; in timespec_sub()
A Dxclock_gettime_time64.c23 # define timespec __timespec64 macro
A Dxclock_settime_time64.c23 # define timespec __timespec64 macro
A Dtimespec-add-time64.c23 # define timespec __timespec64 macro
A Dtimespec-sub-time64.c23 # define timespec __timespec64 macro
A Ddelayed_exit.c32 struct timespec delay = { seconds, 0 }; in delayed_exit_thread()
33 struct timespec remaining = { 0 }; in delayed_exit_thread()
A Dxclock_gettime.c25 struct timespec *ts) in xclock_gettime()
A Dxclock_settime.c25 const struct timespec *ts) in xclock_settime()
A Dsupport_stat_nanoseconds.c38 const struct timespec tsp[] = { { 0, TIMESPEC_HZ - 1 }, in support_stat_nanoseconds()
49 const struct timespec otsp[] = in support_stat_nanoseconds()
A Dtimespec-time64.c36 #define timespec __timespec64 macro
A DMakefile94 timespec \
95 timespec-time64 \
96 timespec-add \
97 timespec-add-time64 \
98 timespec-sub \
99 timespec-sub-time64 \
A Dsupport_process_state.c83 if (nanosleep (&(struct timespec) { 0, 10000000 }, NULL) != 0) in support_process_state_wait()
91 nanosleep (&(struct timespec) { 1, 0 }, NULL); in support_process_state_wait()
A Dtst-timespec.c28 struct timespec time;
34 struct timespec time;
35 struct timespec norm;
40 struct timespec expected;
41 struct timespec observed;
309 struct timespec result; in do_test()
A DREADME32 For tests that make use of struct timespec, the following header files
35 * timespec.h
A Dsupport_test_main.c94 print_timestamp (const char *what, struct timespec tv) in print_timestamp()
118 struct timespec now; in signal_handler()
141 struct timespec ts; in signal_handler()
A Dsupport_subprocess.c141 nanosleep (&((struct timespec) { 0, 100000000 }), NULL); in support_process_kill()

Completed in 26 milliseconds