code: def mark(self, scope='process'):
          
          check_call(_LIB.MXProfileSetMarker(self.domain.handle, c_str(self.name), c_str(scope)))
docs: 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`.