verify: Simplify dump_buf()
[fio.git] / fio_time.h
index f4eac793f4fb3311dbd77069fc5a392477f33fef..8b4bb255f0b483dc4f1ad6f23759ddddaf439a7c 100644 (file)
@@ -1,10 +1,13 @@
 #ifndef FIO_TIME_H
 #define FIO_TIME_H
 
+#include <time.h>
+#include <sys/time.h>
 #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 *);