Manual Page Result
0
Command: times | Section: 2 | Source: UNIX v10 | File: times.2
TIMES(2) System Calls Manual TIMES(2)
NAME
times - get process times
SYNOPSIS
#include <sys/types.h>
#include <sys/times.h>
int times(buffer)
struct tms *buffer;
DESCRIPTION
Times delivers time-accounting information for the current process and
for the terminated child processes of the current process. All times
are in clock ticks.
struct tms
{
time_t tms_utime; user time for this process
time_t tms_stime; system time for this process
time_t tms_cutime; user time for all child processes
time_t tms_cstime; system time for all child processes
};
The children times are the sum of the children's process times and
their children's times.
SEE ALSO
time(1), time(2)
DIAGNOSTICS
EFAULT
TIMES(2)