epoch(9) background information?
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Sep 21 10:46:43 UTC 2018
Hello,
I ported the epoch API to RTEMS. You can find the implementation here:
https://git.rtems.org/rtems-libbsd/tree/rtemsbsd/include/sys/epoch.h
https://git.rtems.org/rtems-libbsd/tree/rtemsbsd/rtems/rtems-kernel-epoch.c
I tested it also on low end uniprocessor targets and it works fine, e.g.
* Microchip ATSAM V71 (ARMv7-M)
* NXP MCF548x (ColdFire)
* NXP MPC860 (PowerPC 32-bit)
I tested it also on a 24-core T4240. It scales pretty well. See also:
https://git.rtems.org/rtems-libbsd/tree/testsuite/epoch01/test_main.c
If someone has ideas for good test cases, then please let me know.
I modified the CK a bit to better support RTEMS targets:
https://git.rtems.org/rtems-libbsd/commit/?id=baf1ca76290f43e054e5182c147ca332cb59890f
https://git.rtems.org/rtems-libbsd/commit/?id=3becda1fef854cbe39e462a1774b860e1455c8ef
https://git.rtems.org/rtems-libbsd/commit/?id=1af372a5eeaba3115f139e4efc0204e2cd7208bb
https://git.rtems.org/rtems-libbsd/commit/?id=be6515d2c1086c76ee965c6300cc5873c76afab9
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the freebsd-hackers
mailing list