def METHOD_NAME (name):
    class ContextManager (object):
        def __init__ (self, name):
            self._name = name
            self._sw = Stopwatch ()
        def __enter__ (self):
            self._sw.reset ()
            return None
        def __exit__ (self, exc_type, exc_value, traceback):
            print('DONE', name, 'in', str(self._sw))
            return False
    return ContextManager (name)