Just how accruate is Millisecs() anyway?

Miscellaneous Forums/General Discussion/Just how accruate is Millisecs() anyway?

Hmm, I wrote a fat alpha routine and tested it debug mode and got 108ms, then in non debug it gives 13ms. Fine. So I optimise it and in debug it gives 30 but STILL GIVES 13 in non-debug, hunh! Then I optimise some more and squeeze it down to 23ms in debug but is STILL GIVES 13 in non-debug. Either a) the opimisations I made only affect debug mode, weird or b) Millisecs is not so good sometimes.

Anyone shed any light?

In fact a while a go I asked if there was a more accurate timer (small increments) than Millisecs but was told, no, just loop the proc several times to get a bigger figure and average it.