void reportMetrics() {
      if (requestLatencies.size() > 5) {
        Collections.sort(requestLatencies);
        int index99 = (int) (requestLatencies.size() * 0.99) - 1;
        int index95 = (int) (requestLatencies.size() * 0.95) - 1;
        StringBuilder message = new StringBuilder();
        message.append(
            "==================================================================================================\n");
        message.append(
            operation + ":totalOps=" + numberOfOperations + ", 99thInMs=" + (double) requestLatencies.get(index99)
                + ", 95thInMs=" + (double) requestLatencies.get(index95) + ", AvgInMs=" + (
                ((double) totalLatencyInMs.get()) / numberOfOperations.get()) + ", minInMs=" + minLatencyInMs.get()
                + ", maxInMs=" + (maxLatencyInMs.get()) + "\n");
        message.append(
            "==================================================================================================\n");
        logger.info(message.toString());
      }
    }
Reports the stats for latencies like avg, 95th, 99th, min and max
ambry-tools/src/main/java/com/github/ambry/tools/admin/ConcurrencyTestTool.java