Skip to content

Commit

Permalink
Print queue length and concurrency in the --rate mode.
Browse files Browse the repository at this point in the history
This has been lost in refactoring beteen 0.5 and 1.0.
  • Loading branch information
akopytov committed Jul 4, 2017
1 parent 01eed4d commit 722b24b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sysbench.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ void sb_report_intermediate(sb_stat_t *stat)
stat->events / stat->time_interval,
sb_globals.percentile,
SEC2MS(stat->latency_pct));
if (sb_globals.tx_rate > 0)
log_timestamp(LOG_NOTICE, stat->time_total,
"queue length: %" PRIu64 " concurrency: %" PRIu64,
stat->queue_length, stat->concurrency);
}


Expand Down

0 comments on commit 722b24b

Please sign in to comment.