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    [W:0.042 / U:1.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site