Time going backwards with clock_gettime(CLOCK_MONOTONIC, ...)
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Nov 11 06:53:41 UTC 2014
Hello Nick,
what is the output of the spnsext01 test for this BSP/board?
On 11/11/14 03:40, Nick Withers wrote:
> Hullo all!
>
> I've seen successive calls to clock_gettime(CLOCK_MONOTONIC, ...) return
> earlier times (RTEMS 4.11 on the MVME3100 PowerPC BSP) and have whacked
> a test case together (see attached) which just busy loops calling it.
>
> Example failures:
> ____
>
> Starting...
> Time went backwards, from {0, 59999000} to {0, 50000000}
> Time went backwards, from {0, 559999000} to {0, 550000000}
> Time went backwards, from {0, 849999000} to {0, 840000000}
> Time went backwards, from {1, 9999000} to {1, 0}
> Time went backwards, from {1, 39999000} to {1, 30000000}
> Time went backwards, from {1, 249999000} to {1, 240000000}
> Time went backwards, from {1, 299999000} to {1, 290000000}
> Time went backwards, from {1, 319999000} to {1, 310000000}
> Time went backwards, from {1, 359999000} to {1, 350000000}
> Time went backwards, from {1, 829999000} to {1, 820000000}
> ____
>
> Could this be related to bug 1748 (can't see it right now with rtems.org
> down)? Any other ideas where I should look to fix this, or whether it's
> a known thing?
>
> Ta all!
>
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list