Re: context switch time

David Wragg (dpw@doc.ic.ac.uk)
Thu, 23 Apr 1998 00:09:32 +0100


Oleg Gusev writes:
> David Wragg wrote:
> >
> > Regarding top, there ought to be a way that user-space can find out
> > the current value of HZ.
>
> You mean getsysinfo(GSI_CLK_TCK,...) that i use on alpha?

I can't see it in 2.1.97 (osf_getsysinfo() doesn't include support
for GSI_CLK_TCK)

Something similar but platform independent is needed in an official
kernel so that things like procps can use it rather than the
constant HZ.

--
Dave Wragg

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu