At 1:38 AM +0100 2001-05-31, Joel Becker wrote: >On Wed, May 30, 2001 at 05:24:37PM -0700, Jonathan Lundell wrote: >> FWIW (perhaps not much in this context), the POSIX way is >>sysconf(_SC_CLK_TCK) >> >> POSIX sysconf is pretty useful for this kind of thing (not just HZ, either). > > Well, how many hundred things on Linux are available from /proc >but not from sysconf or the like? :-) > >Joel Lots. Maybe we oughta have /proc/sysconf/... (there's no reason sysconf() can't be a library reading /proc). -- /Jonathan Lundell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- How to know HZ from userspace? Harald Welte
- Re: How to know HZ from userspace? H. Peter Anvin
- Re: How to know HZ from userspace? Joel Becker
- Re: How to know HZ from userspace? Jonathan Lundell
- Re: How to know HZ from userspace? Joel Becker
- Re: How to know HZ from userspace? Jonathan Lundell
- Re: How to know HZ from userspace? Mike Castle
- Re: How to know HZ from userspace? Daniel Phillips
- Re: How to know HZ from userspace? Martin Dalecki
- Re: How to know HZ from userspace? Albert D. Cahalan
- Re: How to know HZ from userspace? Ralf Baechle
- Re: How to know HZ from userspace? H. Peter Anvin
- Re: How to know HZ from userspace? Albert D. Cahalan
- Re: How to know HZ from userspace? Harald Welte
- Re: How to know HZ from userspace? H. Peter Anvin
- Re: How to know HZ from userspace? Erik Tews