X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio_time.h;h=8b4bb255f0b483dc4f1ad6f23759ddddaf439a7c;hp=f4eac793f4fb3311dbd77069fc5a392477f33fef;hb=18aa1998aa8267b8a127b3fe53e58a68b4e99469;hpb=e6fe02651641fc64d2fa4fcfe9b1013b2947d11b diff --git a/fio_time.h b/fio_time.h index f4eac793..8b4bb255 100644 --- a/fio_time.h +++ b/fio_time.h @@ -1,10 +1,13 @@ #ifndef FIO_TIME_H #define FIO_TIME_H +#include +#include #include "lib/types.h" struct thread_data; extern uint64_t ntime_since(const struct timespec *, const struct timespec *); +extern uint64_t ntime_since_now(const struct timespec *); extern uint64_t utime_since(const struct timespec *, const struct timespec *); extern uint64_t utime_since_now(const struct timespec *); extern uint64_t mtime_since(const struct timespec *, const struct timespec *);