code: private void printAggregatedInfo(GetWorkerReportOptions options) {
      mIndentationLevel = 0;
      print(String.format("Capacity information for %s workers: ",
          options.getWorkerRange().toString().toLowerCase()));
  
      mIndentationLevel++;
      print("Total Capacity: " + FormatUtils.getSizeFromBytes(mSumCapacityBytes));
      mIndentationLevel++;
      for (Map.Entry<String, Long> totalBytesTier : mSumCapacityBytesOnTierMap.entrySet()) {
        long value = totalBytesTier.getValue();
        print("Tier: " + totalBytesTier.getKey()
            + "  Size: " + FormatUtils.getSizeFromBytes(value));
      }
      mIndentationLevel--;
  
      print("Used Capacity: "
          + FormatUtils.getSizeFromBytes(mSumUsedBytes));
      mIndentationLevel++;
      for (Map.Entry<String, Long> usedBytesTier : mSumUsedBytesOnTierMap.entrySet()) {
        long value = usedBytesTier.getValue();
        print("Tier: " + usedBytesTier.getKey()
            + "  Size: " + FormatUtils.getSizeFromBytes(value));
      }
      mIndentationLevel--;
  
      if (mSumCapacityBytes != 0) {
        int usedPercentage = (int) (100L * mSumUsedBytes / mSumCapacityBytes);
        print(String.format("Used Percentage: " + "%s%%", usedPercentage));
        print(String.format("Free Percentage: " + "%s%%", 100 - usedPercentage));
      }
    }
docs: Prints aggregated worker capacity information.
  
  @param options GetWorkerReportOptions to check if input is invalid