This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Support for additional kernel clocks in glibc
- From: Christoph Lameter <clameter at sgi dot com>
- To: libc-alpha at sources dot redhat dot com
- Cc: Roland McGrath <roland at redhat dot com>, george at mvista dot com, linux-kernel at vger dot kernel dot org
- Date: Tue, 14 Dec 2004 14:33:02 -0800 (PST)
- Subject: Support for additional kernel clocks in glibc
On Tue, 14 Dec 2004, Roland McGrath wrote:
> > It seems that this code does now support extra clocks like
> > CLOCK_REALTIME_HR, CLOCK_MONOTONIC_HR and CLOCK_SGI_CYCLE right?
>
> Here I think you are talking about glibc, not kernel code. If you mean
> this about the kernel code, then please clarify (and I'm not sure what the
> question means in that context). If you are asking about the glibc code,
> please take that to the libc mailing list and we won't bother the kernel
> folks with that discussion.
The clock_id's are now passed through since you also have to pass your
bitmapped performance clocks through. I think this may also satisfy
George Anzinger's long standing request for the possibility of additional
clock support in glibc. The clocks are now defined only in the
kernel header files though.
Could you make the three clocks also available in glibc header files?
What do we do if additional clocks become available through the posix
layer in Linux?