code: def _cpu():
      if not SETTINGS.HOST_INFO.INCLUDE_CPU_INFO:
          return
  
      if platform.system() == "Windows":
          return _get_cpu_by_pycpuinfo()
      try:
          if platform.system() == "Darwin":
              return _get_cpu_by_sysctl()
          elif platform.system() == "Linux":
              return _get_cpu_by_proc_cpuinfo()
      except Exception:
          # Use pycpuinfo only if other ways fail, since it takes about 1 sec
          return _get_cpu_by_pycpuinfo()
  
imports: import os
  import platform
  import re
  import subprocess
  from xml.etree import ElementTree
  import warnings
  from typing import List
  import cpuinfo
  from sacred.utils import optional_kwargs_decorator
  from sacred.settings import SETTINGS
label_desc: Use image node_id 8 for calling a global function with example usage: _cpu() and returns: _get_cpu_by_pycpuinfo, _get_cpu_by_sysctl, _get_cpu_by_pycpuinfo, _get_cpu_by_proc_cpuinfo