| 296 | } |
| 297 | |
| 298 | static __inline void |
| 299 | bintime2timeval(const struct bintime *_bt, struct timeval *_tv) |
| 300 | { |
| 301 | |
| 302 | _tv->tv_sec = _bt->sec; |
| 303 | _tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(_bt->frac >> 32)) >> 32; |
| 304 | } |
| 305 | |
| 306 | static __inline void |
| 307 | timeval2bintime(const struct timeval *_tv, struct bintime *_bt) |
no outgoing calls
no test coverage detected