[Lazarus] How to program with time in milliseconds?

Reinier Olislagers reinierolislagers at gmail.com
Mon May 12 14:47:28 CEST 2014


On 12/05/2014 13:32, Michael Schnell wrote:
> On 05/11/2014 09:44 AM, Graeme Geldenhuys wrote:
>>
>> Take a look at EpikTimer. It uses hardware timers where available, with
>> an easy to use API for the developer.
> 
> IO took a look.
> 
> Seemingly this is only available for X86 and X86_64.
How did you get that idea? The wiki page even explicitly mentions ARM.

> In Windows, "QueryPerformanceCounter" is called. I supposed (I don't
> have a Lazarus on Windows at hand) this library call in fact uses a
> hardware feature of the CPU instead of doing a time cosuming system call.
Do you mean direct access to the hardware bypassing the OS? I thought
that wasn't possible in Windows?





More information about the Lazarus mailing list