The QueryPerformanceCounter function retrieves the current value of the high-resolution performance counter, provided one exists. It may not exist on a system.

On the other hand, GetTickCount() works on all PC compatible computers, as it's based on the timer hardware interrupt IRQ0.

My bet is that $ticks is a wrapper around GetTickCount().


Sincerely,
Necroman, #mIRC @ Undernet