TIMES(2) HP Integral PC TIMES(2) TIMES(2) HP Integral PC TIMES(2) TIMES(2) HP Integral PC TIMES(2) TIMES(2) HP Integral PC TIMES(2) NAME NAME NAME NAME times - get process and child process times SYNOPSIS SYNOPSIS SYNOPSIS SYNOPSIS long times (buffer) struct tbuffer *buffer; struct tbuffer { long utime; long stime; long cutime; long cstime; } DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION Times fills the structure pointed to by buffer with time- accounting information. This information comes from the calling process and each of its terminated child processes for which it has executed a wait . All times are in 60ths of a second. Utime is the CPU time used while executing instructions in the user space of the calling process. Stime is the CPU time used by the system on behalf of the calling process. Cutime is the sum of the "utime"s and "cutime"s of the child processes. Cstime is the sum of the "stime"s and "cstime"s of the child processes. Times will fail if buffer points to an illegal address. [EFAULT] RETURN VALUE RETURN VALUE RETURN VALUE RETURN VALUE Upon successful completion, times returns the elapsed real time, in 60ths of a second, since an arbitrary point in the past (e.g., system start-up time). This point does not change from one invocation of times to another. If times fails, a -1 is returned and errno is set to indicate the error. SEE ALSO SEE ALSO SEE ALSO SEE ALSO exec(2), fork(2), time(2), wait(2). Hewlett-Packard - 1 - (printed 12/11/84)