def METHOD_NAME(self, key: str) -> None:
    """Begin a new mark to collect time.
    Every call to this method must generate a call to `mark_end(...)`.
    """
    if not self.enabled:
        return
    self.stack.append((key, time.process_time()))