BSD 3 development
[unix-history] / usr / man / man2 / times.2
CommitLineData
e6817382
BJ
1.TH TIMES 2
2.SH NAME
3times \- get process times
4.SH SYNOPSIS
5.B times(buffer)
6.br
7.B struct tbuffer *buffer;
8.SH DESCRIPTION
9.I Times
10returns time-accounting information
11for the current process
12and for the terminated child processes
13of the current process.
14All times are in 1/60 seconds.
15.PP
16After the call, the buffer will appear as follows:
17.PP
18.nf
19struct tbuffer {
20 long proc_user_time;
21 long proc_system_time;
22 long child_user_time;
23 long child_system_time;
24};
25.PP
26.fi
27The children times are the sum
28of the children's process times and
29their children's times.
30.SH "SEE ALSO"
31time(1), time(2)
32.SH "ASSEMBLER (PDP-11)"
33(times = 43.)
34.br
35.B sys times; buffer