lkml.org 
[lkml]   [1998]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: context switch time
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site