X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=time.h;h=c550a55b72a6e3d32153fa2e75815c9f1892418a;hp=3824102d7497268189d4b1c12b7bbdb29b58b669;hb=476882d7947f650783b255a8da74954069af90de;hpb=a73468166ef0a85d489dcdc291229a3d9ad9cfc1 diff --git a/time.h b/time.h index 3824102d..c550a55b 100644 --- a/time.h +++ b/time.h @@ -1,19 +1,19 @@ #ifndef FIO_TIME_H #define FIO_TIME_H -extern unsigned long long utime_since(struct timeval *, struct timeval *); -extern unsigned long long utime_since_now(struct timeval *); -extern unsigned long mtime_since(struct timeval *, struct timeval *); -extern unsigned long mtime_since_now(struct timeval *); -extern unsigned long time_since_now(struct timeval *); -extern unsigned long mtime_since_genesis(void); +extern uint64_t utime_since(struct timeval *, struct timeval *); +extern uint64_t utime_since_now(struct timeval *); +extern uint64_t mtime_since(struct timeval *, struct timeval *); +extern uint64_t mtime_since_now(struct timeval *); +extern uint64_t time_since_now(struct timeval *); +extern uint64_t mtime_since_genesis(void); +extern uint64_t utime_since_genesis(void); extern void usec_spin(unsigned int); extern void usec_sleep(struct thread_data *, unsigned long); extern void fill_start_time(struct timeval *); extern void set_genesis_time(void); extern int ramp_time_over(struct thread_data *); extern int in_ramp_time(struct thread_data *); -extern unsigned long long genesis_cycles; extern void fio_time_init(void); #endif