This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Let RTEMS provide clock()
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Wed, 6 Sep 2017 10:53:30 +0200
- Subject: Re: [PATCH] Let RTEMS provide clock()
- Authentication-results: sourceware.org; auth=none
- References: <20170906065845.13573-1-sebastian.huber@embedded-brains.de> <20170906084123.GD14453@calimero.vinschen.de>
On 06/09/17 10:41, Corinna Vinschen wrote:
I just don't quite understand. Is sysconf(_SC_CLK_TCK) different
from CLOCKS_PER_SEC on RTEMS?
Yes, the CLOCKS_PER_SEC is a POSIX defined constant and the
sysconf(_SC_CLK_TCK) returns the actual system tick frequency. Which is
usually 100 or 1000 ticks per second.
--
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@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.