code: def runctx(self, cmd, globals, locals):
          
          self.enable_by_count()
          try:
              exec(cmd, globals, locals)
          finally:
              self.disable_by_count()
          return self
docs: Profile a single executable statement in the given namespaces.