projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nanosecond: initial commit changing timeval to timespec
[fio.git]
/
steadystate.c
diff --git
a/steadystate.c
b/steadystate.c
index 43c715c96422dddfcbca6f8fed9871c80ee4ffd2..45d4f5d2eeb928306c1b312e20f960b6f9b53506 100644
(file)
--- a/
steadystate.c
+++ b/
steadystate.c
@@
-196,7
+196,7
@@
void steadystate_check(void)
int i, j, ddir, prev_groupid, group_ramp_time_over = 0;
unsigned long rate_time;
struct thread_data *td, *td2;
int i, j, ddir, prev_groupid, group_ramp_time_over = 0;
unsigned long rate_time;
struct thread_data *td, *td2;
- struct time
val
now;
+ struct time
spec
now;
uint64_t group_bw = 0, group_iops = 0;
uint64_t td_iops, td_bytes;
bool ret;
uint64_t group_bw = 0, group_iops = 0;
uint64_t td_iops, td_bytes;
bool ret;
@@
-231,7
+231,7
@@
void steadystate_check(void)
}
td_io_u_lock(td);
}
td_io_u_lock(td);
- for (ddir =
DDIR_READ
; ddir < DDIR_RWDIR_CNT; ddir++) {
+ for (ddir =
0
; ddir < DDIR_RWDIR_CNT; ddir++) {
td_iops += td->io_blocks[ddir];
td_bytes += td->io_bytes[ddir];
}
td_iops += td->io_blocks[ddir];
td_bytes += td->io_bytes[ddir];
}