projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rand: make randX_upto() do the end value increment
[fio.git]
/
fio_time.h
diff --git
a/fio_time.h
b/fio_time.h
index 3a5848e7a1da06c5260db3c35d8e08c68ce560a0..c00f8e7866d94fd47ae6e0b54f03453efdbd0844 100644
(file)
--- a/
fio_time.h
+++ b/
fio_time.h
@@
-1,10
+1,17
@@
#ifndef FIO_TIME_H
#define FIO_TIME_H
#ifndef FIO_TIME_H
#define FIO_TIME_H
+#include <stdint.h>
+/* IWYU pragma: begin_exports */
+#include <time.h>
+#include <sys/time.h>
+/* IWYU pragma: end_exports */
#include "lib/types.h"
struct thread_data;
#include "lib/types.h"
struct thread_data;
-extern uint64_t utime_since(const struct timespec *,const struct timespec *);
+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 *);
extern uint64_t mtime_since_now(const struct timespec *);
extern uint64_t utime_since_now(const struct timespec *);
extern uint64_t mtime_since(const struct timespec *, const struct timespec *);
extern uint64_t mtime_since_now(const struct timespec *);