times.2

来自「UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱」· 2 代码 · 共 42 行

2
42
字号
.th TIMES II 8/5/73.sh NAMEtimes \*- get process times.sh SYNOPSIS(times = 43.; not in assembler).br.ft Bsys  times; buffer.s3times(buffer).brstruct tbuffer *buffer;.ft R.sh DESCRIPTION.it Timesreturns time-accounting informationfor the current processand for the terminated child processesof the current process.All times are in 1/60 seconds..s3After the call, the buffer will appear as follows:.s3.nfstruct tbuffer {	int	proc\*_user\*_time;	int	proc\*_system\*_time;	int	child\*_user\*_time[2];	int	child\*_system\*_time[2];};.s3.fiThe children times are the sumof the children's process times andtheir children's times..sh "SEE ALSO"time (I).sh DIAGNOSTICS\*-.sh BUGSThe process times should be 32 bits as well.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?