[PATCH, RTEMS] Fix CLOCKS_PER_SEC

Gedare Bloom gedare@rtems.org
Tue Mar 3 16:48:00 GMT 2015


RTEMS use of _SC_CLK_TCK for CLOCKS_PER_SEC is broken [1]. Attached
patch makes RTEMS use the constant value of 1000000 like Linux and
BSD.

Gedare

[1] https://devel.rtems.org/ticket/2182
-------------- next part --------------
2015-02-25  Gedare Bloom  <gedare@rtems.org>

	* libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rtems-fix-CLOCKS_PER_SEC.patch
Type: text/x-diff
Size: 768 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150303/6dac52b8/attachment.bin>


More information about the Newlib mailing list