Enlarge probe version field
[fio.git] / time.h
... / ...
CommitLineData
1#ifndef FIO_TIME_H
2#define FIO_TIME_H
3
4extern unsigned long long utime_since(struct timeval *, struct timeval *);
5extern unsigned long long utime_since_now(struct timeval *);
6extern unsigned long mtime_since(struct timeval *, struct timeval *);
7extern unsigned long mtime_since_now(struct timeval *);
8extern unsigned long time_since_now(struct timeval *);
9extern unsigned long mtime_since_genesis(void);
10extern void usec_spin(unsigned int);
11extern void usec_sleep(struct thread_data *, unsigned long);
12extern void fill_start_time(struct timeval *);
13extern void set_genesis_time(void);
14extern int ramp_time_over(struct thread_data *);
15extern int in_ramp_time(struct thread_data *);
16extern unsigned long long genesis_cycles;
17extern void fio_time_init(void);
18
19#endif