Lines Matching refs:timespec
2 * timespecops.h -- calculations on 'struct timespec' values
10 * Doing basic arithmetic on a 'struct timespec' is not exceedingly
12 * normalised. We consider a timespec normalised when the nanosecond
20 * nanoseconds of a timespec are signed values. IMHO, the easiest way is
63 extern struct timespec normalize_tspec(struct timespec x);
66 static inline struct timespec
68 struct timespec a,
69 struct timespec b
72 struct timespec x;
82 static inline struct timespec
84 struct timespec a,
88 struct timespec x;
97 static inline struct timespec
99 struct timespec a,
100 struct timespec b
103 struct timespec x;
113 static inline struct timespec
115 struct timespec a,
119 struct timespec x;
128 static inline struct timespec
130 struct timespec a
133 struct timespec x;
142 struct timespec abs_tspec(struct timespec a);
148 extern int cmp_tspec(struct timespec a, struct timespec b);
156 struct timespec a,
157 struct timespec b
167 extern int test_tspec(struct timespec a);
175 struct timespec a
184 struct timespec x
194 /* convert from timespec duration to l_fp duration */
195 extern l_fp tspec_intv_to_lfp(struct timespec x);
200 struct timespec x
212 extern struct timespec lfp_intv_to_tspec(l_fp x);
213 extern struct timespec lfp_uintv_to_tspec(l_fp x);
220 extern struct timespec lfp_stamp_to_tspec(l_fp x, const time_t *pivot);