>
> Yes, 6000 microseconds isn't 6 seconds.
:p Ouch. Yes. Thanks.
Use (rtems_clock_get_ticks_per_second() * 6) as documented here:
>
> https://docs.rtems.org/releases/rtems-docs-4.11.2/c-user/clock_manager.html#rtems-clock-get-ticks-per-second
>
Yes, This works! Thanks.
On Tue, May 11, 2021 at
On Tue, May 11, 2021 at 1:11 AM Gedare Bloom wrote:
> On Sun, May 9, 2021 at 9:33 AM Richi Dubey wrote:
> >
> > Hi,
> >
> > I am using the line:
> rtems_task_wake_after(RTEMS_MICROSECONDS_TO_TICKS(6000)); in my test
> program to emulate a 6 seconds sleep. But when I deubg the program using
> qem
On Sun, May 9, 2021 at 9:33 AM Richi Dubey wrote:
>
> Hi,
>
> I am using the line:
> rtems_task_wake_after(RTEMS_MICROSECONDS_TO_TICKS(6000)); in my test program
> to emulate a 6 seconds sleep. But when I deubg the program using qemu, I do
> not see it waiting for 6 seconds; on debugging, there