Re: [2.4] Are jiffies in jiffies?
From: Tomas Telensky
Date: Tue Nov 04 2003 - 07:53:40 EST
> [ I beleive this is real FAQ - so responding with private e-mails
> more appropriate.
> ptr("RTFM") != 0 are welcome. ]
> jiffies declared in kernel/timer.c.
> Name suggests that it is incremented 100 times per second.
> LDD2 suggests that it is incremented every 1000/HZ per second.
> Is it just name misleading - or I really miss the point?
> So to translate this to seconds i need (jiffies*1000/HZ)
> and milliseconds are just (jiffies/HZ) then.
No. seconds are jiffies/HZ.
HZ = Herz = something per second :-)
HZ = something / second => second = something / HZ :-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/