diff --git a/cozy/architecture/profiler.py b/cozy/architecture/profiler.py index d5a84e8b..fd95093b 100644 --- a/cozy/architecture/profiler.py +++ b/cozy/architecture/profiler.py @@ -1,9 +1,11 @@ import time import logging +import functools log = logging.getLogger("timing") def timing(f): + @functools.wraps(f) def wrap(*args): time1 = time.time() ret = f(*args)