private void logIt() {
            LOGGER.info(SUMMARY_LOG_FORMAT,
                RATE_FORMAT.format(produceRateTotal),
                THROUGHPUT_FORMAT.format(produceThroughputTotalBps / BYTES_PER_MB),
                COUNT_FORMAT.format(produceCountTotal / 1_000_000.0),
                COUNT_FORMAT.format(produceSizeTotalBytes / BYTES_PER_GB),
                COUNT_FORMAT.format(produceErrorTotal / 1_000.0),
                RATE_FORMAT.format(consumeRateTotal),
                THROUGHPUT_FORMAT.format(consumeThroughputTotalBps / BYTES_PER_MB),
                COUNT_FORMAT.format(consumeCountTotal / 1_000_000.0),
                COUNT_FORMAT.format(consumeSizeTotalBytes / BYTES_PER_GB),
                LATENCY_FORMAT.format(produceLatencyMeanTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatencyMinTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatency50thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatency75thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatency90thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatency95thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatency99thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatency999thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatency9999thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(produceLatencyMaxTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatencyMeanTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatencyMinTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatency50thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatency75thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatency90thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatency95thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatency99thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatency999thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatency9999thTotalMicros / MICROS_PER_MILLI),
                LATENCY_FORMAT.format(endToEndLatencyMaxTotalMicros / MICROS_PER_MILLI)
            );
        }
Check if the loop in {@link StatsCollector#printAndCollectStats} should stop.

@param startNanos start time in nanoseconds
@param nowNanos   current time in nanoseconds
@return true if the loop should stop
tools/src/main/java/org/apache/kafka/tools/automq/perf/StatsCollector.java