Re: [Flightgear-devel] C library timing

2005-06-28 Thread Gerhard Wesp
There's ISO C's time() which only has second resolution. Then there's SUSv3's gettimeofday() which theoretically has microsecond resolution and in practice in the order of 10ms. Cheers -Gerhard -- Gerhard Wesp o o +43 (0)699 815 98 770 Bachtobelstrasse 56 |

[Flightgear-devel] C library timing

2005-06-12 Thread Jon Berndt
Is anyone aware of which C library calls for determining time (down to the millisecond) - either elapsed or calendar - are best used under all the platforms that FlightGear runs on? Jon ___ Flightgear-devel mailing list

Re: [Flightgear-devel] C library timing

2005-06-12 Thread Curtis L. Olson
Jon Berndt wrote: Is anyone aware of which C library calls for determining time (down to the millisecond) - either elapsed or calendar - are best used under all the platforms that FlightGear runs on? There is a plib api for accurate timing. You may not want a plib dependency in jsbsim,

RE: [Flightgear-devel] C library timing

2005-06-12 Thread Jon Berndt
There is a plib api for accurate timing. You may not want a plib dependency in jsbsim, but you could take a look at which functions they use on which platforms. Curt. Thanks. I'll take a look. I've got something that seems to work well enough at the moment, but at some point I'd like to