projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change latency targets to be in nsec values internally
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index acbbd4858b663efdb95bd9d4a2eb46299081cba4..7c16b0602e252ecd76dae31fe7d044af8f55ccb6 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-925,6
+925,13
@@
static int fixup_options(struct thread_data *td)
ret = 1;
}
+ /*
+ * Fix these up to be nsec internally
+ */
+ o->max_latency *= 1000ULL;
+ o->latency_target *= 1000ULL;
+ o->latency_window *= 1000ULL;
+
return ret;
}