import re


def parse_time(line: str) -> int:
    """
    Parse the timestamp from a line in the log.

    Parameters
    ----------
    line : str
        A ``string`` of a line in an MLPerf log file.

    Returns
    -------
    int
        Returns an ``int`` of the parsed timestamp.
    """
    return int(re.findall(r'\d+', line)[0])