X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=time.h;h=3824102d7497268189d4b1c12b7bbdb29b58b669;hp=bc7fe3702942d57b66d5572d7075df31afbb63a2;hb=a73468166ef0a85d489dcdc291229a3d9ad9cfc1;hpb=a3efc919b0dcc27d65a6e84edca209b91cee173d diff --git a/time.h b/time.h index bc7fe370..3824102d 100644 --- a/time.h +++ b/time.h @@ -1,15 +1,6 @@ #ifndef FIO_TIME_H #define FIO_TIME_H -/* - * Clock sources - */ -enum fio_cs { - CS_GTOD = 1, - CS_CGETTIME, - CS_CPUCLOCK, -}; - 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 *); @@ -19,15 +10,10 @@ extern unsigned long mtime_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 fio_gettime(struct timeval *, void *); -extern void fio_gtod_init(void); -extern void fio_clock_init(void); -extern void fio_gtod_update(void); 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); -extern int fio_start_gtod_thread(void); #endif