src.system.odometer.odometer

src.system.odometer.odometer(function: Callable) Callable

Decorator that logs the runtime of a decorated function. Each time a function is called, it is given a unique function ID as a GUID.

Parameters:

function – Function to wrap.

Returns:

A wrapped function.