Searched refs:tp_diff (Results 1 – 3 of 3) sorted by relevance
46 static inline int64_t tp_diff(const struct timespec *a, const struct timespec *b) in tp_diff() function55 int64_t diff = tp_diff(a, b); in tp_diff_in_range_ns()
24 return clamp(tp_diff(abstime, &curtime) / NSEC_PER_MSEC, 0, UINT32_MAX); in timespec_to_timeoutms()
104 diff_ns = tp_diff(&ts, &ref_ts); in ZTEST()136 x_i = tp_diff(&now, &then) / NSEC_PER_MSEC; in ZTEST()