Printing duration if it is longer than 1 sec