projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
td->filename vs f->filename typo
[fio.git]
/
eta.c
diff --git
a/eta.c
b/eta.c
index 8e17d20ea745fcb59d14d57c53c87abbd9b88fce..3c2316284909c88867c5981db71b93918e1ffef6 100644
(file)
--- a/
eta.c
+++ b/
eta.c
@@
-26,20
+26,20
@@
static void check_str_update(struct thread_data *td)
break;
case TD_RUNNING:
if (td_rw(td)) {
break;
case TD_RUNNING:
if (td_rw(td)) {
- if (td->sequential)
- c = 'M';
- else
+ if (td_random(td))
c = 'm';
c = 'm';
- } else if (td_read(td)) {
- if (td->sequential)
- c = 'R';
else
else
+ c = 'M';
+ } else if (td_read(td)) {
+ if (td_random(td))
c = 'r';
c = 'r';
- } else {
- if (td->sequential)
- c = 'W';
else
else
+ c = 'R';
+ } else {
+ if (td_random(td))
c = 'w';
c = 'w';
+ else
+ c = 'W';
}
break;
case TD_VERIFYING:
}
break;
case TD_VERIFYING:
@@
-269,7
+269,7
@@
void print_thread_status(void)
if (!nr_running && !nr_pending)
return;
if (!nr_running && !nr_pending)
return;
- printf("
Thread
s: %d", nr_running);
+ printf("
Job
s: %d", nr_running);
if (m_rate || t_rate)
printf(", CR=%d/%d KiB/s", t_rate, m_rate);
if (eta_sec != INT_MAX && nr_running) {
if (m_rate || t_rate)
printf(", CR=%d/%d KiB/s", t_rate, m_rate);
if (eta_sec != INT_MAX && nr_running) {