
10 Sep
2008
10 Sep
'08
11:12 a.m.
Also, wouldn't the function call itself have an overhead? If yes, is there a way to get around it ?
Well, there exists some overhead at each "iteration", but if you've got a fixed reference-time, these overheads wouldn't accumulate, so after 2 or 1000 iterations you'd have about the same deviation. As for the deviation itself, you just have to try and evaluate it with your compiler/machine...