add timer for banker algorithm.