nanosecond: initial commit changing timeval to timespec
authorVincent Fu <Vincent.Fu@sandisk.com>
Tue, 14 Mar 2017 18:41:26 +0000 (14:41 -0400)
committerVincent Fu <vincent.fu@sandisk.com>
Wed, 21 Jun 2017 14:41:21 +0000 (10:41 -0400)
commit8b6a404cdd2c40715885e562416c3db039912773
tree4f869d7ee45cc94ce54ba8682ff086825d5175df
parentb2fcbe01bdac01bc5d7f8ddea94f264b9f8c2003
nanosecond: initial commit changing timeval to timespec

struct timeval has usec resolution whereas struct timespec has nsec resolution.
This commit changes several dozen instances of struct timeval to struct timespec.
All of the output is unchanged.

The ticks to nsec conversion in this patch is broken but fixed in a later patch.
36 files changed:
backend.c
client.c
crc/test.c
diskutil.c
diskutil.h
engines/guasi.c
engines/libaio.c
engines/rdma.c
eta.c
fio.h
fio_time.h
gettime-thread.c
gettime.c
gettime.h
helper_thread.c
idletime.c
idletime.h
io_u.c
io_u.h
ioengines.c
iolog.c
libfio.c
mutex.c
options.c
os/windows/posix.c
profiles/act.c
server.c
server.h
stat.c
steadystate.c
steadystate.h
t/debug.c
t/dedupe.c
t/lfsr-test.c
time.c
verify.c