Page 1 of 1

GetTickCount on the PPC

PostPosted: Mar 31, 2003 @ 9:07am
by telamon
Hey all,

I was wondering if the resolution of the GetTickCount timer function is as bad in Windows CE as it is in Windows 9x/2000/XP (where it is only accurate to 50 ms).

I ask because I want to unchain my game physics from the frame rate so that my game can run at the maximal FPS on any PPC (so new PPCs will run it smoother), but with the speed of gameplay remaining the same. I noticed that most PPC developers don't do this - is it because the timer can't handle it? I read in the docs someplace that it had a resolution of 1 ms, but that sounds like a lie to me. Has anyone had any experience with this?

I don't suppose that the StrongARM processors have super high accuracy performance timers like pentiums do? I couldn't find any SDK docs on that.

Thanks for any input

PostPosted: Mar 31, 2003 @ 12:39pm
by MirekCz

PostPosted: Mar 31, 2003 @ 1:44pm
by refractor

GetTickCount on the PPC

PostPosted: Mar 31, 2003 @ 8:19pm
by Dave H

PostPosted: Apr 17, 2003 @ 12:35am
by Johan
According to Microsoft documentation (forgot the link), the timer resolution is around 2-3 msec...

PostPosted: Apr 17, 2003 @ 1:15am
by Kzinti

PostPosted: Apr 17, 2003 @ 9:22am
by MirekCz
No idea about source of data for performacecounter, but I have used it and it worked fine on IPAQ machine with 206mhz strongarm cpu.