modify microtime to handle pending clock ticks,