TIMES(2) — Unix Programmer’s Manual
NAME
times − get process times
SYNOPSIS
#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 the terminated child processes of the current process. All times are in 1/HZ seconds, where HZ is either 50 or 60 depending on your locality.
This is the structure returned by times:
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