X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=time.c;h=ef05094e733915fc1c2c59a0ef8bd17ac8d9613b;hp=5755b67e78e7c71e0b33f426ea807ec19bb6f9d0;hb=f67bbe85d8e1274163bb28bd870371ca0d8d0d95;hpb=4780fa263c038646ab803b63f23f486b2b7b1140 diff --git a/time.c b/time.c index 5755b67e..ef05094e 100644 --- a/time.c +++ b/time.c @@ -5,7 +5,6 @@ static struct timeval genesis; static unsigned long ns_granularity; -unsigned long long genesis_cycles; unsigned long long utime_since(struct timeval *s, struct timeval *e) { @@ -151,7 +150,7 @@ int ramp_time_over(struct thread_data *td) return 0; } -void fio_init fio_time_init(void) +void fio_time_init(void) { int i; @@ -180,7 +179,6 @@ void fio_init fio_time_init(void) void set_genesis_time(void) { fio_gettime(&genesis, NULL); - genesis_cycles = get_cpu_clock(); } void fill_start_time(struct timeval *t)