| 69 | } |
| 70 | |
| 71 | static __inline void |
| 72 | bintime_add(struct bintime *_bt, const struct bintime *_bt2) |
| 73 | { |
| 74 | uint64_t _u; |
| 75 | |
| 76 | _u = _bt->frac; |
| 77 | _bt->frac += _bt2->frac; |
| 78 | if (_u > _bt->frac) |
| 79 | _bt->sec++; |
| 80 | _bt->sec += _bt2->sec; |
| 81 | } |
| 82 | |
| 83 | static __inline void |
| 84 | bintime_sub(struct bintime *_bt, const struct bintime *_bt2) |
no outgoing calls
no test coverage detected