Profiling of iterator open/reset/close

Yup. There is nothing to really stop though. Those classes just wrap recording the current time to a variable and subtracting from the current time from the stored time. I made a small refactoring that i think improves the readability.