code: def _get_build_root() -> str:
      global _BUILD_ROOT
      if _BUILD_ROOT is None:
          _BUILD_ROOT = _make_temp_dir(
              prefix="benchmark_utils_jit_build"
          )
          atexit.register(shutil.rmtree, _BUILD_ROOT)
      return _BUILD_ROOT
  
file_path: pytorch/torch/utils/benchmark/utils/cpp_jit.py
imports: import atexit
  import os
  import re
  import shutil
  import textwrap
  import threading
  from typing import Any, List, Optional
  import torch
  from torch.utils.benchmark.utils._stubs import CallgrindModuleType, TimeitModuleType
  from torch.utils.benchmark.utils.common import _make_temp_dir
  from torch.utils import cpp_extension
label_desc: Use image node_id 1 for calling a global function with example usage: _get_build_root() and returns: _BUILD_ROOT