* timemono_between - time between two monotonic times * @recent: the larger time. * @old: the smaller time. * * This returns a well formed struct timerel of @recent - @old. */
| 363 | * This returns a well formed struct timerel of @recent - @old. |
| 364 | */ |
| 365 | static inline struct timerel timemono_between(struct timemono recent, |
| 366 | struct timemono old) |
| 367 | { |
| 368 | struct timerel t; |
| 369 | |
| 370 | t.ts = time_sub_(recent.ts, old.ts); |
| 371 | return t; |
| 372 | } |
| 373 | |
| 374 | /** |
| 375 | * timemono_since - elapsed monotonic time since @old |