code: def add_plot_timer_command(subparsers):
      desc = """Plot *.timer.txt files produced by nnabla.MonitorTimeElapsed class.
  
  Example:
  
      nnabla_cli plot_timer -x "Epochs" -l "config A" -l "config B" result_a/Epoch-time.timer.txt result_b/Epoch-time.timer.txt"""
  
      subparser = add_plot_any_command(
          subparsers,
          "plot_timer",
          "Plot *.timer.txt files.",
          desc,
          plot_timer_command,
      )
      subparser.add_argument(
          "-e",
          "--elapsed",
          help="Plot total elapsed time. By default, it plots elapsed time per iteration.",
          action="store_true",
      )
      subparser.add_argument(
          "-u",
          "--time-unit",
          help="Time unit chosen from {s|m|h|d}.",
          default="s",
      )
  
label_desc: Use image node_id 6 for calling a global function with example usage: add_plot_timer_command(subparsers) without return types