TIMES(2) DOMAIN/IX SYS5 TIMES(2)
NAME
times - get process times
USAGE
#include <sys/types.h>
#include <sys/times.h>
times(buffer)
struct tms *buffer;
DESCRIPTION
Times returns time-accounting information for the current
process and for any terminated child processes of the
current process. All times are in 1/HZ seconds, where HZ is
60.
This is the structure returned by times:
struct tms {
time_t tms_utime; /* user time */
time_t tms_stime; /* system time */
time_t tms_cutime; /* user time, children */
time_t tms_cstime; /* system time, children */
};
The "children" times are the sum of the children's process
times and their children's times.
On DOMAIN Systems, the system time is always returned as 0,
since it is considered part of the user time.
RELATED INFORMATION
exec(2), fork(2), time(2), wait(2)
Printed 12/4/86 TIMES-1