summaryrefslogtreecommitdiff
path: root/static/v10/man2/times.2
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man2/times.2
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man2/times.2')
-rw-r--r--static/v10/man2/times.268
1 files changed, 68 insertions, 0 deletions
diff --git a/static/v10/man2/times.2 b/static/v10/man2/times.2
new file mode 100644
index 00000000..0f8cefe8
--- /dev/null
+++ b/static/v10/man2/times.2
@@ -0,0 +1,68 @@
+.pa 1
+.he 'TIMES(II)'2/10/73'TIMES(II)'
+.ti 0
+NAME times -- get process times
+.sp
+.ti 0
+.nf
+SYNOPSIS sys times; buffer / times = 43.; not in assembler
+.br
+.fi
+.li
+...
+.ti -8
+buffer: .=.+[24.*3]
+.sp
+.ti 0
+DESCRIPTION times_____
+returns time-accounting information
+for the system as a whole, for the current process,
+and for the terminated child processes
+of the current process.
+All the times are 2-word (32-bit) numbers, and the
+unit of measurement is 1/60 second.
+
+After the call, the buffer will appear as follows:
+
+buffer:
+.br
+system:
+ .=.+4 / absolute time
+ .=.+4 / total system time
+ .=.+4 / total swap time
+ .=.+4 / other I/O wait time
+ .=.+4 / idle time
+ .=.+4 / total user time
+
+process:
+ .=.+4 / (ignore)
+ .=.+4 / time in system
+ .=.+4 / (ignore)
+ .=.+4 / I/O wait time
+ .=.+4 / (ignore)
+ .=.+4 / processor time
+
+child:
+ .=.+24.
+
+The format of the "child" times is the same as
+that for the process times; the numbers are
+the sum of the times for all terminated direct
+or indirect descendants of the current process.
+
+The "absolute" time returned is the same as that
+given by time(II).
+The "total system times" are times since the last cold
+boot.
+.sp
+.ti 0
+FILES --
+.sp
+.ti 0
+SEE ALSO time(II), time(I)
+.sp
+.ti 0
+DIAGNOSTICS --
+.sp
+.ti 0
+BUGS --