use diag_ticktime to count down