class_docstr: Set marker for an instant in time.
  
  The marker event marks a particular instant in time across some scope boundaries.
  
  Parameters
  ----------
  domain : Domain object
      Domain to which this object belongs
  name : string
      Name of the marker
docstr: Set up the profiler state to record operator.
  
  Parameters
  ----------
  scope : string, optional
      Indicates what scope the marker should refer to.
      Can be 'global', 'process', thread', task', and 'marker'
      Default is `process`.
docstr_tok: ["Set","up","the","profiler","state","to","record","operator",".","Parameters","--","--","--","--","--","scope",":","string",",","optional","Indicates","what","scope","the","marker","should","refer","to",".","Can","be","'global","'",",","'process","'",",","thread","'",",","task","'",",","and","'marker'","Default","is","`","process","`","."]
code: def mark(
      self, scope="process"
  ):  # pylint: disable=redefined-outer-name
      """Set up the profiler state to record operator.
  
      Parameters
      ----------
      scope : string, optional
          Indicates what scope the marker should refer to.
          Can be 'global', 'process', thread', task', and 'marker'
          Default is `process`.
      """
      check_call(
          _LIB.MXProfileSetMarker(
              self.domain.handle, c_str(self.name), c_str(scope)
          )
      )
  
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 2 for calling the Marker obj's underlying member method code with example usage: obj.mark(scope) without return types