mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* short explanation -jiffies (newbie)
@ 2003-10-16 19:55 sting sting
  2003-10-16 20:13 ` Richard B. Johnson
  2003-10-16 21:01 ` Jesper Juhl
  0 siblings, 2 replies; 3+ messages in thread
From: sting sting @ 2003-10-16 19:55 UTC (permalink / raw)
  To: linux-kernel

Hello,
can someone give a short explanation what jiffies are?
regards
sting

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: short explanation -jiffies (newbie)
  2003-10-16 19:55 short explanation -jiffies (newbie) sting sting
@ 2003-10-16 20:13 ` Richard B. Johnson
  2003-10-16 21:01 ` Jesper Juhl
  1 sibling, 0 replies; 3+ messages in thread
From: Richard B. Johnson @ 2003-10-16 20:13 UTC (permalink / raw)
  To: sting sting; +Cc: linux-kernel

On Thu, 16 Oct 2003, sting sting wrote:

> Hello,
> can someone give a short explanation what jiffies are?
> regards
> sting

It is a variable that keeps increasing forever until
it wraps back to zero at which time it still keeps
increasing. It gets increased at the HZ (a defined constant)
rate as a result of a hardware interrupt.

It is used for various timing functions within the kernel.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (797.90 BogoMips).
            Note 96.31% of all statistics are fiction.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: short explanation -jiffies (newbie)
  2003-10-16 19:55 short explanation -jiffies (newbie) sting sting
  2003-10-16 20:13 ` Richard B. Johnson
@ 2003-10-16 21:01 ` Jesper Juhl
  1 sibling, 0 replies; 3+ messages in thread
From: Jesper Juhl @ 2003-10-16 21:01 UTC (permalink / raw)
  To: sting sting; +Cc: linux-kernel


On Thu, 16 Oct 2003, sting sting wrote:

> Hello,
> can someone give a short explanation what jiffies are?

A short explanation :

"Basic packet of kernel time, around 10ms on x86. Related to HZ, the basic
resolution of the operating system. The timer interrupt is raised each
10ms, which then performs some h/w timer related stuff, and marks a couple
of bh's ready to run if applicable."

is given at :

http://www.kernelnewbies.org/glossary/#J

For more details you could take a look at these files (there are more) in
the kernel source :

include/linux/delay.h
init/main.c

to find more relevant files try something like this in the kernel source
tree :

for i in `find -name *.[ch]`; do grep -H jiffy $i; done



Kind regards,

Jesper Juhl

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-16 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 19:55 short explanation -jiffies (newbie) sting sting
2003-10-16 20:13 ` Richard B. Johnson
2003-10-16 21:01 ` Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®