Print queue length and concurrency in the --rate mode.

This has been lost in refactoring beteen 0.5 and 1.0.
This commit is contained in:
Alexey Kopytov
2017-07-04 11:28:07 +03:00
parent 3ecc6b6762
commit db621cd10a

View File

@ -198,6 +198,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);
}