xref: /csrg-svn/lib/libc/sys/getrusage.2 (revision 20144)
Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)getrusage.2 4.1 (Berkeley) 05/09/85

TIMES 2
C 4
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 :

.so  /usr/include/sys/times.h

The children times are the sum of the children's process times and their children's times.
"SEE ALSO"
time(1), time(2), vtimes(2)
"ASSEMBLER (PDP-11)"
(times = 43.)

sys times; buffer