This site is no longer active and is available for archival purposes only. Registration and login is disabled.

GetTickCount Resolution - Program to test it


GetTickCount Resolution - Program to test it

Postby Justt » Apr 18, 2003 @ 8:19am

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...
User avatar
Justt
pm Member
 
Posts: 23
Joined: Mar 23, 2003 @ 10:00pm


Postby ryanc » Apr 25, 2003 @ 4:04pm

ryanc
pm Member
 
Posts: 8
Joined: Jul 17, 2002 @ 4:12pm


Postby angedelamort » Apr 25, 2003 @ 8:24pm

User avatar
angedelamort
pm Member
 
Posts: 304
Joined: Mar 7, 2002 @ 11:16pm
Location: Montreal, Quebec


Postby Justt » Apr 27, 2003 @ 11:05pm

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 )
User avatar
Justt
pm Member
 
Posts: 23
Joined: Mar 23, 2003 @ 10:00pm


Postby Digby » Apr 28, 2003 @ 5:53am

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.
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby Sergey Chaban » Apr 28, 2003 @ 1:25pm

Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum