From: Jens Axboe Date: Mon, 5 Jan 2015 20:51:22 +0000 (-0700) Subject: server: use fio_gettime() for timeout variables X-Git-Tag: fio-2.2.5~21 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c7b0978381243f25a06464cdbf57bb55a1dbaa33;ds=sidebyside server: use fio_gettime() for timeout variables Signed-off-by: Jens Axboe --- diff --git a/server.c b/server.c index 3171979e..c2498497 100644 --- a/server.c +++ b/server.c @@ -333,7 +333,7 @@ static uint64_t alloc_reply(uint64_t tag, uint16_t opcode) reply = calloc(1, sizeof(*reply)); INIT_FLIST_HEAD(&reply->list); - gettimeofday(&reply->tv, NULL); + fio_gettime(&reply->tv, NULL); reply->saved_tag = tag; reply->opcode = opcode;