class_docstr: Profiling domain, used to group sub-objects like tasks, counters, etc into categories
  Serves as part of 'categories' for chrome://tracing
  
  Note: Domain handles are never destroyed.
  
  Parameters
  ----------
  name : string
      Name of the domain
code: def __init__(self, name):
      self.name = name
      self.handle = ProfileHandle()
      check_call(
          _LIB.MXProfileCreateDomain(
              c_str(self.name), ctypes.byref(self.handle)
          )
      )
  
imports: import ctypes
  import contextlib
  import contextvars
  import warnings
  from .base import _LIB, check_call, c_str, ProfileHandle, c_str_array, py_str, KVStoreHandle
label_desc: Use image node_id 1 to create a new Domain object from inherited base classes: object with example: obj = Domain(name)