Fix logging time

This fixes a bug where the time being logged is just incremented for
each request. We use the ```cleanup_view_runtime``` hook to reset the
runtime correctly and log the correct time.