[fpc-devel]bug report - bad time measuring

Anton Tichawa anton.tichawa at chello.at
Thu Nov 21 16:12:09 CET 2002


hi, roman!

what os do you use?

under linux, there is linux.gettimeofday, which has a resolution of 10 ms on 
my system.

ciao,

anton.

On Thursday 21 November 2002 09:16, Divacky Roman wrote:

> hi
>
> I want to measure time in miliseconds... so I use NOW function...
> it returns in its one item miliseconds past midnight... but those
> miliseconds are in fact only seconds multiplyed by 1000... so its not very
> accurate...
>
> is there any way how to measure time in smaller units?? or would be
> possible to implement now to behave correctly? (libc wrapper?)
>
> thanks a lot for answer!
>
> roman divacky
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list