code: def print_metrics(self, name, rank_metrics_list):
      if rank_metrics_list:
          metrics_list = []
          for rank, metric in rank_metrics_list:
              self.print_data_frame(f"{name}={rank}", metric)
              metrics_list.append(metric)
          combined_metrics = self.combine_processed_metrics(
              metrics_list
          )
          self.print_data_frame(f"all {name}", combined_metrics)
  
file_path: pytorch/benchmarks/distributed/rpc/parameter_server/metrics/ProcessedMetricsPrinter.py
imports: import statistics
  import pandas
  from tabulate import tabulate
label_desc: Use image node_id 4 for calling the ProcessedMetricsPrinter obj's underlying member method code with example usage: obj.print_metrics(name, rank_metrics_list) without return types