WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

GetTickCount Explained


The gettickcount units are 1/1000'ths of a second.

Note that it does not increment 1 by 1, but in jumps of between oh 10 to 50 at a time (and maybe even outside of those ranges)

I think the "tick" where it increments is more than the old 18.2 times a second. Maybe 64 times a second. I'm not sure.

If you run a debug trace (which slows everything down) and look at the numbers in parenthesis, thats a tick count and you can see how it jumps.

I have found it accurate. I think Windows "fixes" it that way, so it it gets out of sync for some reason, windows fixes it later. Not 100% sure though.

I've used it for program timing and have not seen any problems using it that way.

The WIL extender also has a "GetExactTime" function that gets you the time in 1/100th's of a second.


Article ID:   W16971
File Created: 2007:07:03:14:27:24
Last Updated: 2007:07:03:14:27:24