Messages in this thread | | | Date | Fri, 12 Jul 2002 10:30:13 -0700 | From | george anzinger <> | Subject | Re: HZ, preferably as small as possible |
| |
Roland Dreier wrote: > > >>>>> "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. > Of course you are right. Must have been a brain fart :)
-- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Real time sched: http://sourceforge.net/projects/rtsched/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml - 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/
| |