| 289 | } |
| 290 | |
| 291 | bool timer_earliest(struct timers *timers, struct timemono *first) |
| 292 | { |
| 293 | if (!update_first(timers)) |
| 294 | return false; |
| 295 | |
| 296 | *first = grains_to_time(timers->first); |
| 297 | return true; |
| 298 | } |
| 299 | |
| 300 | /* Assume no timers before 'time', cascade down and update base time. */ |
| 301 | static void timer_fast_forward(struct timers *timers, uint64_t time) |