Page 1 of 1

GetTickCount Resolution - Program to test it

PostPosted: Apr 18, 2003 @ 8:19am
by Justt
Here's a small program I wrote that defines the resoltion of the GetTickCount() by checking how many times it returns a new value during a 5 seconds period.
Could you people run it and post the result it gives?








On my PC it gives 10ms accuracy...

PostPosted: Apr 25, 2003 @ 4:04pm
by ryanc

PostPosted: Apr 25, 2003 @ 8:24pm
by angedelamort

PostPosted: Apr 27, 2003 @ 11:05pm
by Justt
I see you people don't trust me enough to run an unknown executable... That's ok, I would do the same :D
You can download the source of the program and compile yourself if you prefer:

(oh, and please do not post messages complaining about my stupid coding habits :D )

PostPosted: Apr 28, 2003 @ 5:53am
by Digby
OK, I won't comment on your code.

I wrote my own test. On Windows XP the resolution is of GetTickCount is 10 ms. On my iPaq 3670 the resolution is 1 ms.

[edit] The resolution on my Toshiba e740 is 1 ms too.

PostPosted: Apr 28, 2003 @ 1:25pm
by Sergey Chaban