Test for timer_create() with CLOCK_MONOTONIC
Joel Sherrill
joel at rtems.org
Mon Apr 13 17:01:08 UTC 2020
On Mon, Apr 13, 2020, 11:53 AM Eshan Dhawan <eshandhawan51 at gmail.com> wrote:
> timer_create also has support for other clock_id arguments
> like CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID
> should I add the tests for them as well?
>
> reference: http://man7.org/linux/man-pages/man2/timer_create.2.html
>
If there is support in RTEMS, there should be a test. Does support exist in
timer_create already? If so, then just a test is needed.
Assess the current situation and file tickets to reflect any deficiencies.
>
> thanks
> -Eshan
>
>
> On Fri, Apr 10, 2020 at 9:35 AM Gedare Bloom <gedare at rtems.org> wrote:
>
>> Please read the other thread "Test for clock_nanosleep with
>> CLOCK_MONOTONIC (# 3890)"
>>
>> Have a look at the RTEMS Test Framework.
>>
>> On Thu, Apr 9, 2020 at 11:31 AM Eshan Dhawan <eshandhawan51 at gmail.com>
>> wrote:
>> >
>> >
>> >
>> > On Thu, Apr 9, 2020 at 10:47 PM Joel Sherrill <joel at rtems.org> wrote:
>> >>
>> >>
>> >>
>> >> On Thu, Apr 9, 2020 at 12:14 PM Eshan Dhawan <eshandhawan51 at gmail.com>
>> wrote:
>> >>>
>> >>> hello,
>> >>>
>> >>> where would the test case of timer_create() with CLOCK_MONOTONIC be
>> added ??
>> >>> would they be added in
>> >>> psxtimer01 or psxtimer02 or will it be required to create a new test
>> file for that?
>> >>
>> >>
>> >> I would probably just create a new test for this. But this is also one
>> you could easily add to
>> >> one of the existing tests if they aren't huge already.
>> >
>> > psxtimer01 is complicated to work on
>> > But it can be added to psxtimer02
>> > the test is not that long and not that complicated either
>> >
>> > -Eshan
>> >>
>> >>
>> >> --joel
>> >>>
>> >>>
>> >>> thanks
>> >>> - Eshan
>> >>> _______________________________________________
>> >>> devel mailing list
>> >>> devel at rtems.org
>> >>> http://lists.rtems.org/mailman/listinfo/devel
>> >
>> > _______________________________________________
>> > devel mailing list
>> > devel at rtems.org
>> > http://lists.rtems.org/mailman/listinfo/devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200413/28ea3aa4/attachment.html>
More information about the devel
mailing list