projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc06a8
)
server: use fio_gettime() for timeout variables
author
Jens Axboe
<axboe@fb.com>
Mon, 5 Jan 2015 20:51:22 +0000
(13:51 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 5 Jan 2015 20:51:22 +0000
(13:51 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
server.c
patch
|
blob
|
blame
|
history
diff --git
a/server.c
b/server.c
index 3171979e650e38587c1db6b22b15a04efd2969a2..c2498497ef214bc28804e91d960f4e913226e0e5 100644
(file)
--- 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;