| 278 | */ |
| 279 | |
| 280 | static __inline void |
| 281 | bintime2timespec(const struct bintime *_bt, struct timespec *_ts) |
| 282 | { |
| 283 | |
| 284 | _ts->tv_sec = _bt->sec; |
| 285 | _ts->tv_nsec = ((uint64_t)1000000000 * |
| 286 | (uint32_t)(_bt->frac >> 32)) >> 32; |
| 287 | } |
| 288 | |
| 289 | static __inline void |
| 290 | timespec2bintime(const struct timespec *_ts, struct bintime *_bt) |
no outgoing calls
no test coverage detected