UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2003-02-26 09:42 PM

prasiths
Member
Registered: 2003-02-06
Posts: 4

Re: what is the meaning of process time

Hi

I have read the process time measurement in unix.  The time that a CPU is spent calculating stuff in a process is measured in a unit of jiffy. One jiffy is 0.01 sec (100 jiffies in 1 sec) in x86 CPU. 

What does really mean by one jiffy?  How can it be translated into CPU clock cycles?  For example, in 800 MHz CPU, one jiffy would have 8 cycles of CPU.  Does this seem to be right?

Thanks in advance
Phongsak

Offline

#2 2003-02-28 09:37 PM

Uzume
Administrator
Registered: 2002-08-30
Posts: 186

Re: what is the meaning of process time

There is no real correspondance to CPU clock cycles (maybe a correlation though). I could be wrong but "jiffies" are measured on the x86 platform by timer chip interrupt ticks while the CPU is allocated to your process (and not the OS or another process).

Offline

Board footer

Powered by FluxBB