lkml.org 
[lkml]   [2002]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.192 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site