Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-01

High precision timing

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hello,

I would like to know if is there any way to get the time in a high precision, something like nannoseconds. I`m trying to write a speed profilling tool.

Thank you,
Bizz

Vinzent Höfler
to Unknown author
I would like to know if is there any way to get the time in a high precision, something like nannoseconds.

Yes. Depending on the required resolution, the operating system, processor architecture, and your portability requirements there are several solutions.

Vinzent.

Unknown author
to Vinzent Höfler
Vinzent Höfler wrote 16 lines
On Fri, 20 Jan 2012 21:38:04 +0100, wrote: > I would like to know if is there any way to get the time in a high > precision, something like nannoseconds. Yes. Depending on the required resolution, the operating system, processor architecture, and your portability requirements there are several solutions. Vinzent. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Hello,

Is there any cross-platform method for doing this? Or at least linux+windows?

Thank you,
Bizz