static private String getFormattedOps()

in simulator/src/main/java/com/google/cloud/StatsTracker.java [44:54]


  static private String getFormattedOps(double ops) {
    if (ops >= 1_000_000_000) {
      return String.format("%3.0fg/s", ops/1_000_000_000);
    } else if (ops >= 1_000_000) {
      return String.format("%3.0fm/s", ops/1_000_000);
    } else if (ops >= 1_000) {
      return String.format("%3.0fk/s", ops/1_000);
    } else {
      return String.format("%3.0f /s", ops);
    }
  }