* Tick and check the stopwatch for expiration. Returns non-zero on expiration. */
| 150 | * Tick and check the stopwatch for expiration. Returns non-zero on expiration. |
| 151 | */ |
| 152 | static inline int stopwatch_expired(struct stopwatch *sw) |
| 153 | { |
| 154 | stopwatch_tick(sw); |
| 155 | return !mono_time_before(&sw->current, &sw->expires); |
| 156 | } |
| 157 | |
| 158 | /* |
| 159 | * Tick and check the stopwatch as long as it has not expired. |
no test coverage detected