* time_sub - subtract two relative times * @a: the larger time. * @b: the smaller time. * * This returns a well formed struct timerel of @a - @b. */
| 367 | * This returns a well formed struct timerel of @a - @b. |
| 368 | */ |
| 369 | static inline struct timerel time_sub(struct timerel a, struct timerel b) |
| 370 | { |
| 371 | struct timerel t; |
| 372 | |
| 373 | t.ts = time_sub_(a.ts, b.ts); |
| 374 | return t; |
| 375 | } |
| 376 | |
| 377 | /** |
| 378 | * time_between - time between two absolute times |