Changeset bdbf1ffa in rtems

Timestamp:
09/06/17 06:54:24 (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
f7f420e
Parents:
4d495cf
git-author:
Sebastian Huber <sebastian.huber@…> (09/06/17 06:54:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/07/17 05:40:19)
Message:

Implement clock()

Newlib uses _times_r() in clock(). The problem is that the _times_r()
clock frequency is defined by sysconf(_SC_CLK_TCK). The clock frequency
of clock() is the constant CLOCKS_PER_SEC.

FreeBSD uses getrusage() for clock(). Since RTEMS has only one process,
the implementation can be simplified.

Update #3121.

(No files)

Note: See TracChangeset for help on using the changeset viewer.