[fpc-devel] About GetTickCount

Sven Barth pascaldragon at googlemail.com
Fri Nov 4 11:39:48 CET 2011


Am 04.11.2011 08:46, schrieb Graeme Geldenhuys:
> My version of EpikTimer use the
> fpgettimeofday() call under Linux for clock ticks. I haven't
> investigated in detail what that call translates too under Linux - I
> hope it's not Now().

It's the other way round: "Now" uses "fpgettimeofday" internally (to be 
more preciselly: "Now" uses "GetLocalTime" which itself calls 
"fpgettimeofday" - the result is then converted to the local time zone)

"fpgettimeofday" itself simply calls the syscall "gettimeofday" of the 
kernel.

Regards,
Sven



More information about the fpc-devel mailing list