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

From: Andi Kleen
Date: Tue Dec 14 2004 - 23:56:46 EST


On Tue, Dec 14, 2004 at 02:44:17PM -0800, Ulrich Drepper wrote:
> On 14 Dec 2004 20:07:39 +0100, Andi Kleen <ak@xxxxxxx> wrote:
>
> > I don't think this should be merged until a clear need from a useful
> > application is demonstrated for it.
>
> This is something which is requested countless times. Everybody doing
> development of sophisticated programs adds some kind of self
> monitoring. And there is of course profiling. The most widely used

You mean statistical profiling? I don't see why you need a bigger
resolution than HZ for that.

> program which needs this is probably the JVM. Don't ask me for the
> specific class, but the JVM developers asked for these clocks in this
> form. Without the support available the Linux JVM is never going to

They didn't ask linux-kernel at least. Perhaps their requirements
should be discussed here first before messing up all kinds of
fast paths with dubious changes?

-Andi
-
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/