Add timer

This is useful for simple timing of coroutine-based workflows.