projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: allow milliseconds on all time specifiers
[fio.git]
/
time.c
diff --git
a/time.c
b/time.c
index 17f9f6fcd187b69feda17140ba62928d7a8f4914..b374d3e71eb976715a4ae86bd998f48108aec18d 100644
(file)
--- a/
time.c
+++ b/
time.c
@@
-71,7
+71,7
@@
int ramp_time_over(struct thread_data *td)
return 1;
fio_gettime(&tv, NULL);
return 1;
fio_gettime(&tv, NULL);
- if (mtime_since(&td->epoch, &tv) >= td->o.ramp_time
* 1000
) {
+ if (mtime_since(&td->epoch, &tv) >= td->o.ramp_time ) {
td->ramp_time_over = 1;
reset_all_stats(td);
td_set_runstate(td, TD_RAMP);
td->ramp_time_over = 1;
reset_all_stats(td);
td_set_runstate(td, TD_RAMP);