Re: HZ, preferably as small as possible

David Mosberger
2002-07-15T15:46:00Z

>>>>> On Mon, 15 Jul 2002 09:24:11 +0100, Russell King <rmk@arm.linux.org.uk> said:

Russell> On Mon, Jul 15, 2002 at 02:56:14AM -0400, Albert D. Cahalan
Russell> wrote:
>> Unfortunately, the hack must remain for another 4 years or so.
>> Maybe that's not so bad though. I prefer it over this:
>>
>> #ifdef __386__ #define HZ 100 #endif #ifdef __IA64__ #define HZ
>> 1024 #endif #ifdef __ARM__ #define HZ 128 // if they settle on
>> this

Russell> Ehh? It's been 100 on the majority of ARM. If it's
Russell> different in libproc, the libproc is broken.

libproc should be using AT_CLKTCK (as provided via sysconf(_SC_CLK_TCK))
at any rate.

--david