print elapsed time in training