[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: jiffies

Here is an excerpt from some literature I have.

Linux has a very simple view of what time it is; it measures time in clock ticks since the system booted. All system times are based on this measurement, which is known as jiffies after the globally available variable of the same name. 

	( - Does this mean jiffies is initialised to 0?)

Times and Timers:
The kernel keeps track of a processes creation time as well as the CPU time that it consumes during its lifetime. Each clock tick, the kernel updates the amount of time in jiffies that the current process has spent in system and in user mode. Linux also supports process specific interval timers, processes can use system calls to set up timers to send signals to themselves when the timers expire. These timers can be single-shot or periodic timers. 

Hope you find it useful.
- Karthika

Chat with your friends as soon as they come online. Get Rediff Bol at