Fix time import

Metrics expect `time` to be the `time` module (they call `self._clock.time()`) and not the `time()` function itself.