}
try {
/* run benchmark workers */
ready.await(); // ready
Timer timer = Timer.startNewTimer(); // set
mark.countDown(); // go
System.out.print(" ...\n");
completion.await(); // ... done
timer.mark();
/* report */
// overall - this is throughput
System.out.format("===== %s =====\n",cmd.code);
System.out.format("%d concurrent clients (%d %ss each) [host: %s]\n", threadCnt, reqCnt, cmd.code, host);
System.out.format(" ==> %d total requests @ %f seconds\n", threadCnt*reqCnt, (float)timer.deltaAtMark(TimeUnit.SECONDS));
System.out.format(" ==> %f/second\n", (float)timer.opsPerSecAtMark((long)threadCnt*reqCnt));
System.out.println();
// report for each - this is response time
long max = Long.MIN_VALUE;
long min = Long.MAX_VALUE;