docs: public synchronized void printResults() throws Exception {
          printHeading("Transaction Results");
  
          BenchmarkCallback.printAllResults();
  
          ClientStats stats = fullStatsContext.fetch().getStats();
  
          // 3. Performance statistics
          printHeading("Client Workload Statistics");
  
          System.out.printf("Average throughput:            %,9d txns/sec\n", stats.getTxnThroughput());
          // cast stats.getAverateLatency from long to double
          System.out.printf("Average latency:               %,9.2f ms\n", stats.getAverageLatency());
          //System.out.printf("Average latency:               %,9d ms\n", stats.getAverageLatency());
          System.out.printf("95th percentile latency:       %,9d ms\n", stats.kPercentileLatency(.95));
          System.out.printf("99th percentile latency:       %,9d ms\n", stats.kPercentileLatency(.99));
  
          printHeading("System Server Statistics");
  
          // cast stats.getAverageInternalLatency from long to double
          System.out.printf("Reported Internal Avg Latency: %,9.2f ms\n", stats.getAverageInternalLatency());
          //System.out.printf("Reported Internal Avg Latency: %,9d ms\n", stats.getAverageInternalLatency());
  
          // 4. Write stats to file if requested
          client.writeSummaryCSV(stats, config.statsfile);
      }