|
|
1.1 root 1: .pa 1
2: .he 'TIMES(II)'2/10/73'TIMES(II)'
3: .ti 0
4: NAME times -- get process times
5: .sp
6: .ti 0
7: .nf
8: SYNOPSIS sys times; buffer / times = 43.; not in assembler
9: .br
10: .fi
11: .li
12: ...
13: .ti -8
14: buffer: .=.+[24.*3]
15: .sp
16: .ti 0
17: DESCRIPTION times_____
18: returns time-accounting information
19: for the system as a whole, for the current process,
20: and for the terminated child processes
21: of the current process.
22: All the times are 2-word (32-bit) numbers, and the
23: unit of measurement is 1/60 second.
24:
25: After the call, the buffer will appear as follows:
26:
27: buffer:
28: .br
29: system:
30: .=.+4 / absolute time
31: .=.+4 / total system time
32: .=.+4 / total swap time
33: .=.+4 / other I/O wait time
34: .=.+4 / idle time
35: .=.+4 / total user time
36:
37: process:
38: .=.+4 / (ignore)
39: .=.+4 / time in system
40: .=.+4 / (ignore)
41: .=.+4 / I/O wait time
42: .=.+4 / (ignore)
43: .=.+4 / processor time
44:
45: child:
46: .=.+24.
47:
48: The format of the "child" times is the same as
49: that for the process times; the numbers are
50: the sum of the times for all terminated direct
51: or indirect descendants of the current process.
52:
53: The "absolute" time returned is the same as that
54: given by time(II).
55: The "total system times" are times since the last cold
56: boot.
57: .sp
58: .ti 0
59: FILES --
60: .sp
61: .ti 0
62: SEE ALSO time(II), time(I)
63: .sp
64: .ti 0
65: DIAGNOSTICS --
66: .sp
67: .ti 0
68: BUGS --
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.