usort/util.py
def timed(msg: str) -> Generator[None, None, None]:
    """
    Records the monotonic duration of the contained context, with a given description.

    Timings are stored for later use/printing with `print_timings()`.
    """
    before = monotonic()
    yield
    after = monotonic()
    TIMINGS.append((msg, after - before))

    Records the monotonic duration of the contained context, with a given description.

    Timings are stored for later use/printing with `print_timings()`.
    
Records the monotonic duration of the contained context, with a given description.
Timings are stored for later use/printing with `print_timings()`.
Records the monotonic duration of the contained context with a given description . Timings are stored for later use / printing with ` print_timings () ` .
def timed(msg: str) -> Generator[None, None, None]:
    before = monotonic()
    yield
    after = monotonic()
    TIMINGS.append((msg, after - before))
def timed ( msg : str ) -> Generator [ None , None , None ] : before = monotonic ( ) yield after = monotonic ( ) TIMINGS . append ( ( msg , after - before ) )
Records the monotonic duration of the contained context, with a given description.
Records the monotonic duration of the contained context with a given description .
"""
    Records the monotonic duration of the contained context, with a given description.

    Timings are stored for later use/printing with `print_timings()`.
    """
msg
str