def METHOD_NAME(
    self,
    name: str,
    categories: Union[List[str], Tuple[str, ...]],
    is_start: bool,
    timestamp: Timestamp,
    wall_clock_time_ns: int,
) -> None:
    """Invoked whenever there is a duration event to record.
    This method is called twice for each duration event -- once with ``is_start = True``,
    and then again with ``is_start = False``. Interleaving events are not permitted.
    Specifically, for each event (identified by the ``name``), a call with ``is_start = True`` will be followed
    by a call with ``is_start = False`` before another call with ``is_start = True``.
    Args:
        name (str): The name of the event.
        categories (Union[List[str], Tuple[str, ...]]): The categories for the event.
        is_start (bool): Whether the event is a start event or end event.
        timestamp (Timestamp): Snapshot of the training time.
        wall_clock_time_ns (int): The :py:func:`time.time_ns` corresponding to the event.
    """
    del name, categories, is_start, timestamp, wall_clock_time_ns  # unused
    pass