code: def add_profile_command(subparsers):
      # Profile
      subparser = subparsers.add_parser(
          "profile", help="Profiling performance with NNP."
      )
      subparser.add_argument(
          "-c", "--config", help="path to nntxt", required=True
      )
      subparser.add_argument(
          "-o", "--outdir", help="output directory", required=True
      )
      subparser.set_defaults(func=profile_command)
  
file_path: nnabla/python/src/nnabla/utils/cli/profile.py
imports: from __future__ import print_function
  import os
  import time
  from collections import OrderedDict
  from functools import partial
  import nnabla.utils.callback
  import nnabla.utils.load
  import numpy
  from contextlib2 import ExitStack
  from nnabla.ext_utils import import_extension_module
  from nnabla.logger import logger
  from nnabla.utils.cli.utility import let_data_to_variable
  from nnabla.utils.progress import configure_progress, progress
label_desc: Use image node_id 5 for calling a global function with example usage: add_profile_command(subparsers) without return types