[Olsr-dev] olsr strange behaving / nearly no outgoing packets

Henning Rogge (spam-protected)
Thu Jun 28 11:19:18 CEST 2012


On 06/28/2012 11:15 AM, Bastian Bittorf wrote:
> this sound strange to me:
> is CLOCK_MONOTONIC used in your old code/built?
> or is it only used in the new builts?
>
> old kernel/olsrd is running on this device.
> new olsrd with new kernel is not running on this device.

No.

We used times() for some time, but we had problems with it. Later we 
switched to an iternal (circular) time base that use gettimeofday() and 
smooths out jumps in time.

The new code will just use a flat 64bit time (with millisecond 
precision) based on either CLOCK_MONOTONIC_RAW, CLOCK_MONOTONIC (or 
gettimeofday() if both are not available).

Henning Rogge


-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120628/ffb98eab/attachment.bin>


More information about the Olsr-dev mailing list