Commit | Line | Data |
---|---|---|
3c39a379 JA |
1 | #ifndef FIO_TIME_H |
2 | #define FIO_TIME_H | |
3 | ||
4 | extern unsigned long utime_since(struct timeval *, struct timeval *); | |
5 | extern unsigned long mtime_since(struct timeval *, struct timeval *); | |
6 | extern unsigned long mtime_since_now(struct timeval *); | |
7 | extern unsigned long time_since_now(struct timeval *); | |
8 | extern void usec_sleep(struct thread_data *, unsigned long); | |
9 | ||
10 | extern void rate_throttle(struct thread_data *, unsigned long, unsigned int); | |
11 | ||
12 | #endif |