log elapsed time