Computation of idle times