TIMES(2) — Unix Programmer’s Manual
NAME
times − get process times
SYNOPSIS
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 {
longproc_user_time;
longproc_system_time;
longchild_user_time;
longchild_system_time;
};
The children times are the sum of the children’s process times and their children’s times.
SEE ALSO
ASSEMBLER (PDP-11)
(times = 43.)
sys times; buffer
7th Edition