break;
case TD_RUNNING:
if (td_rw(td)) {
- if (td->sequential)
- c = 'M';
- else
+ if (td_random(td))
c = 'm';
- } else if (td_read(td)) {
- if (td->sequential)
- c = 'R';
else
+ c = 'M';
+ } else if (td_read(td)) {
+ if (td_random(td))
c = 'r';
- } else {
- if (td->sequential)
- c = 'W';
else
+ c = 'R';
+ } else {
+ if (td_random(td))
c = 'w';
+ else
+ c = 'W';
}
break;
case TD_VERIFYING:
unsigned long elapsed = mtime_since_genesis() / 1000;
int i, nr_running, nr_pending, t_rate, m_rate, *eta_secs, eta_sec;
struct thread_data *td;
- char eta_str[32];
+ char eta_str[128];
double perc = 0.0;
unsigned long long io_bytes[2];
unsigned long rate_time, disp_time, bw_avg_time;
if (!nr_running && !nr_pending)
return;
- printf("Threads: %d", nr_running);
+ printf("Jobs: %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) {