Guarantee rtems_timer_server_fire_after() will be 'after' interval
Joel Sherrill
joel at rtems.org
Thu Jun 4 22:42:13 UTC 2020
What version Matthew?
On Thu, Jun 4, 2020 at 4:24 PM Gedare Bloom <gedare at rtems.org> wrote:
> Yes, it should. If not, have to chase down a bug somewhere.
>
> https://docs.rtems.org/branches/master/c-user/timer_manager.html#rtems-timer-server-fire-after
>
> On Wed, Jun 3, 2020 at 2:05 AM Matthew J Fletcher <amimjf at gmail.com>
> wrote:
> >
> > Hi,
> >
> > Does the implementation of rtems_timer_server_fire_after() ensure that
> the supplied routine will be called 'after' the interval ?
> >
> > On my ARMv7M BSP with a 10ms tick and 100 passed as the interval
> argument i occasionally (once in 10,00 or so) see the following;
> >
> > routine called - 0 millis
> > routine called - 980 millis
> >
> > I am using rtems_clock_get_ticks_since_boot() to get the millis
> >
> >
> >
> > regards
> > ---
> > Matthew J Fletcher
> >
> > _______________________________________________
> > users mailing list
> > users at rtems.org
> > http://lists.rtems.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20200604/df04ecb5/attachment.html>
More information about the users
mailing list