Quote:
Originally Posted by migurus
This is a little off-topic, but I am afraid I do not fully understand the code.
|
That's quite ON topic and one reason I posted the code.
Quote:
|
is to start the whole measurement at the point of change of the second. Right?
|
right.
Quote:
|
What is this technique of checking every Nth iteration for? why not check time every iteration? is it because this would add to many extra time calls and muddy the measurements?
|
You answered it. AFAIK each time() call involves a system call. I think there is a better way of handling this, but this is the first that came to mind.
I do appreciate you checking the code. That I'm prone to failure may be a modest understatement.