Michael Van Canneyt wrote:

And I hardly see the point of converting something coming from the hardware and/or a kernel counter to a double and then back to a quadword.

Nevertheless, Now() is the only portable construct available. Multiply it with msecsperday and round to int64 if you need an integer value.

What about non-portable, e.g. unix-only? I don't see anything obvious in the BaseUnix documentation.

I'm sure there's something in EpikTimer I could use, but I'm trying to keep things fairly lean.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to