TIMES(II) − PWB/UNIX 8/5/73
NAME
times − get process times
SYNOPSIS
(times = 43.; not in assembler)
sys times; buffer times(buffer)
struct tbuffer *buffer;
DESCRIPTION
Times returns time-accounting information for the current process and for the terminated child processes of the current process. All times are in 1/60 seconds. After the call, the buffer will appear as follows:
struct tbuffer {
intproc_user_time;
intproc_system_time;
intchild_user_time[2];
intchild_system_time[2];
};
The children times are the sum of the children’s process times and their children’s times.
SEE ALSO
DIAGNOSTICS
−
BUGS
The process times should be 32 bits as well.