* timemono_since - elapsed monotonic time since @old * @old: a monotonic time from the past. */
| 376 | * @old: a monotonic time from the past. |
| 377 | */ |
| 378 | static inline struct timerel timemono_since(struct timemono old) |
| 379 | { |
| 380 | struct timemono now = time_mono(); |
| 381 | |
| 382 | return timemono_between(now, TIMEMONO_CHECK(old)); |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | * timeabs_sub - subtract a relative time from an absolute time |