Fix gfio build due to disk_stat struct seperation
[fio.git] / time.h
CommitLineData
c223da83
JA
1#ifndef FIO_TIME_H
2#define FIO_TIME_H
3
aa60bc58
JA
4extern uint64_t utime_since(struct timeval *, struct timeval *);
5extern uint64_t utime_since_now(struct timeval *);
6extern uint64_t mtime_since(struct timeval *, struct timeval *);
7extern uint64_t mtime_since_now(struct timeval *);
8extern uint64_t time_since_now(struct timeval *);
9extern uint64_t mtime_since_genesis(void);
0de5b26f 10extern uint64_t utime_since_genesis(void);
c223da83
JA
11extern void usec_spin(unsigned int);
12extern void usec_sleep(struct thread_data *, unsigned long);
13extern void fill_start_time(struct timeval *);
c223da83
JA
14extern void set_genesis_time(void);
15extern int ramp_time_over(struct thread_data *);
16extern int in_ramp_time(struct thread_data *);
c223da83
JA
17extern void fio_time_init(void);
18
19#endif