projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gettime: improve gettimeofday() offload support
[fio.git]
/
gettime.c
diff --git
a/gettime.c
b/gettime.c
index 87abca0ff883f59c4850f191ae8d744128552bee..e2746711d2e4e2b51b914a98a2c9d30e914beeda 100644
(file)
--- a/
gettime.c
+++ b/
gettime.c
@@
-207,10
+207,8
@@
void fio_gettime(struct timeval *tp, void fio_unused *caller)
gtod_log_caller(caller);
#endif
- if (fio_unlikely(fio_tv)) {
- memcpy(tp, fio_tv, sizeof(*tp));
+ if (fio_unlikely(fio_gettime_offload(tp)))
return;
- }
__fio_gettime(tp);
}