code: def calc_throughput(response_details):
      start_time = min([r.start_time for r in response_details])
      end_time = max([r.end_time for r in response_details])
      return len(response_details) / (end_time - start_time)
  
file_path: deepspeedexamples/benchmarks/inference/mii/plot_effective_throughput.py
imports: import argparse
  from pathlib import Path
  import glob
  import matplotlib.pyplot
  import numpy
  import pandas
  from postprocess_results import read_json, get_tokenizer
label_desc: Use image node_id 6 for calling a global function with example usage: calc_throughput(response_details) and returns: unknown