projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio2gnplot: Print specific message if cmdline parsing fails
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 442caa0cd1973400d5323a7202b6350155a6ae1d..10d9efead57176bee8aeba9abfbccc617520e2c4 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-1691,7
+1691,7
@@
void add_bw_sample(struct thread_data *td, enum fio_ddir ddir, unsigned int bs,
fio_gettime(&td->bw_sample_time, NULL);
}
fio_gettime(&td->bw_sample_time, NULL);
}
-void add_iops_sample(struct thread_data *td, enum fio_ddir ddir,
+void add_iops_sample(struct thread_data *td, enum fio_ddir ddir,
unsigned int bs,
struct timeval *t)
{
struct thread_stat *ts = &td->ts;
struct timeval *t)
{
struct thread_stat *ts = &td->ts;
@@
-1718,7
+1718,7
@@
void add_iops_sample(struct thread_data *td, enum fio_ddir ddir,
add_stat_sample(&ts->iops_stat[ddir], iops);
if (td->iops_log)
add_stat_sample(&ts->iops_stat[ddir], iops);
if (td->iops_log)
- add_log_sample(td, td->iops_log, iops, ddir,
0
);
+ add_log_sample(td, td->iops_log, iops, ddir,
bs
);
td->stat_io_blocks[ddir] = td->this_io_blocks[ddir];
}
td->stat_io_blocks[ddir] = td->this_io_blocks[ddir];
}