Fix a timing problem with cache simulations.