verify: convert hdr time to sec+nsec
[fio.git] / verify.c
index 9612244faece57e181c63b3c7afad52a03956740..2faeaad69302032c8828c9c4451399a7f5ef54ab 100644 (file)
--- a/verify.c
+++ b/verify.c
@@ -1164,7 +1164,7 @@ static void __fill_hdr(struct thread_data *td, struct io_u *io_u,
        hdr->rand_seed = rand_seed;
        hdr->offset = io_u->offset + header_num * td->o.verify_interval;
        hdr->time_sec = io_u->start_time.tv_sec;
-       hdr->time_usec = io_u->start_time.tv_nsec / 1000;
+       hdr->time_nsec = io_u->start_time.tv_nsec;
        hdr->thread = td->thread_number;
        hdr->numberio = io_u->numberio;
        hdr->crc32 = fio_crc32c(p, offsetof(struct verify_header, crc32));