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/60 seconds (even in 50 Hz countries).
The children times are the sum of the children’s process times and their children’s times.
SEE ALSO
7th Edition