RE: what is jiffies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi
jiffies is global variable that holds the number of ticks that have occured
after the system has booted. On each timer interrupt the value of this
variable is
increased by 1.  

HZ gives the frequency of system timer. It is basically the tick rate.
jiffies and HZ are related in the sense that if there are HZ timer
interrupts in
a second, there are HZ jiffies in a second.

jiffies variable is defined in linux/jiffies.h
while HZ is defined in include/asm/param.h

regards
sanjay
-----Original Message-----
From: kernelnewbies-bounce@nl.linux.org
[mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of linux lover
Sent: Saturday, May 15, 2004 12:24 PM
To: kernelnewbies@nl.linux.org
Subject: what is jiffies?


hi friends,
      i am new to linux development. i wan to know
what are jiffies and why it is used? 
       Also i want to know what is HZ in kernel?
Thanking you.
linux_lover


	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


Disclaimer: 

This message and any attachment(s) contained here are information that is
confidential,proprietary to HCL Technologies and its customers, privileged
or otherwise protected by law.The information is solely intended for the
individual or the entity it is addressed to. If you are not the intended
recipient of this message, you are not authorized to read, forward,
print,retain, copy or disseminate this message or any part of it. If you
have received this e-mail in error, please notify the sender immediately by
return e-mail and delete it from your computer.



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux