code: def plot_timer_command(args):
      import nnabla.monitor as M
  
      format_unit = dict(
          s="seconds",
          m="minutes",
          h="hours",
          d="days",
      )
  
      if not args.ylabel:
          if args.elapsed:
              args.ylabel = "Total elapsed time [{}]".format(
                  format_unit[args.time_unit]
              )
          else:
              args.ylabel = "Elapsed time [{}/iter]".format(
                  format_unit[args.time_unit]
              )
      plot_any_command(
          args,
          M.plot_time_elapsed,
          dict(elapsed=args.elapsed, unit=args.time_unit),
      )
      return True
  
label_desc: Use image node_id 2 for calling a global function with example usage: plot_timer_command(args) and returns: True