Commit | Line | Data |
---|---|---|
e6817382 BJ |
1 | .TH TIMES 2 |
2 | .SH NAME | |
3 | times \- get process times | |
4 | .SH SYNOPSIS | |
5 | .B times(buffer) | |
6 | .br | |
7 | .B struct tbuffer *buffer; | |
8 | .SH DESCRIPTION | |
9 | .I Times | |
10 | returns time-accounting information | |
11 | for the current process | |
12 | and for the terminated child processes | |
13 | of the current process. | |
14 | All times are in 1/60 seconds. | |
15 | .PP | |
16 | After the call, the buffer will appear as follows: | |
17 | .PP | |
18 | .nf | |
19 | struct 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 | |
27 | The children times are the sum | |
28 | of the children's process times and | |
29 | their children's times. | |
30 | .SH "SEE ALSO" | |
31 | time(1), time(2) | |
32 | .SH "ASSEMBLER (PDP-11)" | |
33 | (times = 43.) | |
34 | .br | |
35 | .B sys times; buffer |