If you look at rtems_init.c file in that folder (<
https://git.rtems.org/ada-examples/snapshot/ada-examples-4-10-2.tar.bz2>),
you can see that there is no time of day. I thought it was ok since I'm
running an example.

Anyway, I've added time of day in rtems_init.c with these values:
https://github.com/RTEMS/rtems-examples/blob/master/classic_api/triple_period/init.c#L39.

I've also set it with status = rtems_clock_set( &time ) , but the behaviour
does not change.

Il giorno mar 26 gen 2021 alle ore 23:44 Joel Sherrill <j...@rtems.org> ha
scritto:

>
>
> On Tue, Jan 26, 2021 at 4:37 PM Mattia Bottaro <mattiabotta...@gmail.com>
> wrote:
>
>> Hello,
>>
>> I'm testing the delay_until example from ada-examples-4-10-2. You can
>> download it from <
>> https://git.rtems.org/ada-examples/snapshot/ada-examples-4-10-2.tar.bz2>.
>>
>> It seems that the delay until has no effect. The program executes the
>> main loop ASAP and no suspension is performed.  Given a period of
>> 16_666_667, 1000 iterations should complete in 16.67 seconds, but they
>> actually complete instantly.
>> Is anyone experiencing the same problem?
>>
>> I'm using RTEMS 4.11.
>>
>
> Is the time of day set? What is the time of day and what is the until time?
>
>
>> _______________________________________________
>> users mailing list
>> users@rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>
>
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to