Re: How to know HZ from userspace?

Harald Welte (laforge@gnumonks.org)
Wed, 6 Jun 2001 15:22:45 -0300


On Wed, Jun 06, 2001 at 08:09:33PM +0200, Tomas Telensky wrote:
> > Hi!
> >
> > Is there any way to read out the compile-time HZ value of the kernel?
>
> Why simply #include <asm/param.h>?

because the include file doesn't say anything about the HZ value of
the currently running kernel, but only about some kernel source somewhere
on your harddrive?

> Tomas

-- 
Live long and prosper
- Harald Welte / laforge@gnumonks.org               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- 
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/