Research V4 development
authorKen Thompson <ken@research.uucp>
Tue, 6 Nov 1973 00:56:01 +0000 (19:56 -0500)
committerKen Thompson <ken@research.uucp>
Tue, 6 Nov 1973 00:56:01 +0000 (19:56 -0500)
Work on file man/man2/times.2

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v4

man/man2/times.2 [new file with mode: 0644]

diff --git a/man/man2/times.2 b/man/man2/times.2
new file mode 100644 (file)
index 0000000..7ab385e
--- /dev/null
@@ -0,0 +1,41 @@
+.th TIMES II 8/5/73
+.sh NAME
+times \*- get process times
+.sh SYNOPSIS
+(times = 43.; not in assembler)
+.br
+.ft B
+sys  times; buffer
+.s3
+times(buffer)
+.br
+struct tbuffer *buffer;
+.ft R
+.sh DESCRIPTION
+.it Times
+returns time-accounting information
+for the current process
+and for the terminated child processes
+of the current process.
+All times are in 1/60 seconds.
+.s3
+After the call, the buffer will appear as follows:
+.s3
+.nf
+struct tbuffer {
+       int     proc\*_user\*_time;
+       int     proc\*_system\*_time;
+       int     child\*_user\*_time[2];
+       int     child\*_system\*_time[2];
+};
+.s3
+.fi
+The children times are the sum
+of the children's process times and
+their children's times.
+.sh "SEE ALSO"
+time(I)
+.sh DIAGNOSTICS
+\*-
+.sh BUGS
+The process times should be 32 bits as well.