display working time at the end of each loop