On 17 July 2010 13:48, Marco van de Voort  wrote:
>
> IIRC on Windows, the solution is to use queryperformancecounter functions
> and not rdtsc.

I would also recommend to rather use EpikTimer (high precision timer
components) than GetTickCount. Results cross multiple systems are less
flawed.
In the latest EpikTimer, I refactored the code/packages so it can be
used in non-gui applications as well.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to