On Fri, Mar 6, 2020 at 12:24 PM Eshan Dhawan <eshandhawa...@gmail.com> wrote: > > clock_getcpuclockid() is defined in time.h but its implementation in RTEMS > returns error > > I went through FreeBSD and NetBSD implementations of the same > they call clock_getcpuclockid2() function > but I couldn't find anything related to this in rtems > so how could we implement clock_getcpuclockid()? >
You would either implement it copying from a suitably licensed (2-BSD) source, or do a clean-room implementation from the specification: https://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_getcpuclockid.html > Thanks > -Eshan > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel