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
docstr: Create new Counter object owned by this domain
  
  Parameters
  ----------
  name : string
      Name of the counter
docstr_tok: ["Create","new","Counter","object","owned","by","this","domain","Parameters","--","--","--","--","--","name",":","string","Name","of","the","counter"]
code: def new_counter(self, name, value=None):
      """Create new Counter object owned by this domain
  
      Parameters
      ----------
      name : string
          Name of the counter
      """
      return Counter(self, name, value)
  
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 5 for calling the Domain obj's underlying member method code with example usage: obj.new_counter(name, value) and returns: Counter