timing within a loop

Obviously, you need to post the code.