This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

more clock_* support


Hi,

I've checked in some changes to implement more clock_* functionality.
For x86 we have now a clock which is using the TSC.  Both Linux and
Hurd should have the functionality (although it cannot quite yet work
on Hurd since I don't know how to get the processor frequency; Roland,
Mark, your call).

The new function from one of the latest POSIX drafts to get the ID of
such a counter is also included.

But: the code is really untested.  It's too late now, will do this
tomorrow.

One thing you'll notice is that the clock_* and timer_* functions are
moved into librt.  This is not only where other platforms have them,
we have to have them there because of the upcoming timer_*
implementation which will, lacking kernel support, use threads.  Since
the functions were not in glibc 2.1 there is not compatiblity issue.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]