Show time in the shortest path algorithm.