07.06.2011, 19:37
Normally you can do it exactly that way. The problem probably is, that the code takes less than 1 ms to run. To get useable values, call the code more often with a for loop. Try at least 10000 times, and you should get a good time. If it still is less than 100ms just increase it, just dont start with too many loops, or you might have to wait for ages

