* Tick and check the stopwatch as long as it has not expired. */
| 159 | * Tick and check the stopwatch as long as it has not expired. |
| 160 | */ |
| 161 | static inline void stopwatch_wait_until_expired(struct stopwatch *sw) |
| 162 | { |
| 163 | while (!stopwatch_expired(sw)) |
| 164 | ; |
| 165 | } |
| 166 | |
| 167 | /* |
| 168 | * Return number of microseconds since starting the stopwatch. |
no test coverage detected