Hi!
> Does anybody know if there is a Linux (or generic Unix) high
> performance timer API available. Something like the Win32 API
> QueryPerformanceCounter()?
Probably the Time-Stamp-Counter for your CPU is of interest for you. See
http://en.wikipedia.org/wiki/Rdtsc for example code.
Bye
Hans
I once implemented a high precision timer on linux, but I don't
remember how I did it. Look at the code here:
http://wiki.lazarus.freepascal.org/EpikTimer
--
Felipe Monteiro de Carvalho
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://l
Felipe Monteiro de Carvalho wrote:
I once implemented a high precision timer on linux, but I don't
remember how I did it. Look at the code here:
http://wiki.lazarus.freepascal.org/EpikTimer
Thanks, I'll have a look at the code for more details. From the wiki, it
sounds like there might be so
Hi,
Graeme Geldenhuys wrote:
> Does anybody know if there is a Linux (or generic Unix) high
> performance timer API available. Something like the Win32 API
> QueryPerformanceCounter()?
Graeme, maybe this link will help:
http://www.gamedev.net/community/forums/topic.asp?topic_id=127700
There are
On Mon, May 19, 2008 at 4:31 AM, Graeme Geldenhuys
<[EMAIL PROTECTED]> wrote:
> Timestamp counter from the CPU (assuming we are speaking of RDTSC) is
> susceptible to many issue...
Read the line just bellow the one you just quoted:
> * Nanosecond resolution is supported on Intel Pentium version