log loop time