Test for timer_create() with CLOCK_MONOTONIC

Eshan Dhawan eshandhawan51 at gmail.com
Mon Apr 13 16:53:36 UTC 2020


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

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/28d40b1b/attachment.html>


More information about the devel mailing list