Use the internal values instead of converting.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
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->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));
hdr->thread = td->thread_number;
hdr->numberio = io_u->numberio;
hdr->crc32 = fio_crc32c(p, offsetof(struct verify_header, crc32));
uint64_t rand_seed;
uint64_t offset;
uint32_t time_sec;
uint64_t rand_seed;
uint64_t offset;
uint32_t time_sec;
uint16_t thread;
uint16_t numberio;
uint32_t crc32;
uint16_t thread;
uint16_t numberio;
uint32_t crc32;