Re: HZ, preferably as small as possible

From: Roland Dreier (roland@topspin.com)
Date: Thu Jul 11 2002 - 20:26:52 EST


>>>>> "george" == george anzinger <george@mvista.com> writes:

    george> Well, in truth it has nothing to do with interrupts. It
    george> is just that that is the way most systems keep time. The
    george> REAL definition of HZ is in its relationship to jiffies
    george> and seconds.

    george> I.e. jiffies * HZ = seconds, by definition.

I'm sure you know the truth, but this isn't quite right. Just to be
pedantic and make sure the correct definition is out there:

  jiffies / HZ = seconds

For example if HZ is 100 then the jiffy counter is incremented 100
times each second.

Best,
  Roland
-
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/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:21 EST