Re: [PATCH 1/7] cpu-timers: high-resolution CPU clocks for POSIXclock_* syscalls

From: Christoph Lameter
Date: Tue Dec 14 2004 - 17:33:04 EST


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?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/