 | | If you want to be able to determine how much processor time a process has consumed, use the times function. You may need this value for accounting purposes, or to attempt to optimize a program. In UNIX, processor time is divided into two parts, user time and system time. User time is the amount of time the processor spends executing in user mode; that is, time spent executing the parts of the program written by the user such as loops and local functions. System time is the amount of time the processor spends executing operating system code on the user's behalf; that is, time spent in system calls such as read and write. | |
|