ticker task wakeup order

Joel Sherrill joel.sherrill at oarcorp.com
Sun Aug 6 19:13:32 UTC 2006


Allan Hessenflow wrote:
> Is the order that the ticker tasks wake up in significant?  While it
> looks fine comparing the output I'm getting to what I'd expect from the
> code, I notice the ticker.scn file shows them waking in a different
> order than I'm seeing.  So I'm wondering if that could indicate some
> problem in my port.  Here's my output:
>
> *** CLOCK TICK TEST ***
> TA1  - rtems_clock_get - 09:00:00   12/31/1988
> TA2  - rtems_clock_get - 09:00:00   12/31/1988
> TA3  - rtems_clock_get - 09:00:00   12/31/1988
> TA1  - rtems_clock_get - 09:00:05   12/31/1988
> TA2  - rtems_clock_get - 09:00:10   12/31/1988
> TA1  - rtems_clock_get - 09:00:10   12/31/1988
> TA3  - rtems_clock_get - 09:00:15   12/31/1988
> TA1  - rtems_clock_get - 09:00:15   12/31/1988
> TA2  - rtems_clock_get - 09:00:20   12/31/1988
> TA1  - rtems_clock_get - 09:00:20   12/31/1988
> TA1  - rtems_clock_get - 09:00:25   12/31/1988
> TA2  - rtems_clock_get - 09:00:30   12/31/1988
> TA3  - rtems_clock_get - 09:00:30   12/31/1988
> TA1  - rtems_clock_get - 09:00:30   12/31/1988
> *** END OF CLOCK TICK TEST ***
>
>   
The order can skew a bit depending on how the BSP does the console IO.
TA1 runs every 5 seconds, TA2 every ten and TA3 every 15.  So the output
looks OK.

> allan
>
>   




More information about the users mailing list