* Return the difference between the timehands' counter value now and what * was when we copied it to the timehands' offset_count. */
| 195 | * was when we copied it to the timehands' offset_count. |
| 196 | */ |
| 197 | static __inline u_int |
| 198 | tc_delta(struct timehands *th) |
| 199 | { |
| 200 | struct timecounter *tc; |
| 201 | |
| 202 | tc = th->th_counter; |
| 203 | return ((tc->tc_get_timecount(tc) - th->th_offset_count) & |
| 204 | tc->tc_counter_mask); |
| 205 | } |
| 206 | |
| 207 | /* |
| 208 | * Functions for reading the time. We have to loop until we are sure that |
no outgoing calls
no test coverage detected