code: def _execute(command):
      res = run(
          command,
          shell=False,
          capture_output=True,
          env=dict(os.environ, NVTX_BENCHMARK="TRUE"),
      )
      if res.returncode != 0:
          raise Exception(res.stderr)
      else:
          return res.stdout
  
file_path: cuml/python/cuml/benchmark/nvtx_benchmark.py
imports: import os
  import shutil
  import sys
  import tempfile
  from subprocess import run
  import json
label_desc: Use image node_id 3 for calling the Profiler obj's underlying member method code with example usage: obj._execute(command) and returns: res