Research V4 development
[unix-history] / man / man2 / times.2
CommitLineData
1f78047e
KT
1.th TIMES II 8/5/73
2.sh NAME
3times \*- get process times
4.sh SYNOPSIS
5(times = 43.; not in assembler)
6.br
7.ft B
8sys times; buffer
9.s3
10times(buffer)
11.br
12struct tbuffer *buffer;
13.ft R
14.sh DESCRIPTION
15.it Times
16returns time-accounting information
17for the current process
18and for the terminated child processes
19of the current process.
20All times are in 1/60 seconds.
21.s3
22After the call, the buffer will appear as follows:
23.s3
24.nf
25struct tbuffer {
26 int proc\*_user\*_time;
27 int proc\*_system\*_time;
28 int child\*_user\*_time[2];
29 int child\*_system\*_time[2];
30};
31.s3
32.fi
33The children times are the sum
34of the children's process times and
35their children's times.
36.sh "SEE ALSO"
37time(I)
38.sh DIAGNOSTICS
39\*-
40.sh BUGS
41The process times should be 32 bits as well.