|
|
1.1 ! root 1: .th TIMES II 8/5/73 ! 2: .sh NAME ! 3: times \*- get process times ! 4: .sh SYNOPSIS ! 5: (times = 43.; not in assembler) ! 6: .br ! 7: .ft B ! 8: sys times; buffer ! 9: .s3 ! 10: times(buffer) ! 11: .br ! 12: struct tbuffer *buffer; ! 13: .ft R ! 14: .sh DESCRIPTION ! 15: .it Times ! 16: returns time-accounting information ! 17: for the current process ! 18: and for the terminated child processes ! 19: of the current process. ! 20: All times are in 1/60 seconds. ! 21: .s3 ! 22: After the call, the buffer will appear as follows: ! 23: .s3 ! 24: .nf ! 25: struct tbuffer { ! 26: int proc\*_user\*_time; ! 27: int proc\*_system\*_time; ! 28: int child\*_user\*_time[2]; ! 29: int child\*_system\*_time[2]; ! 30: }; ! 31: .s3 ! 32: .fi ! 33: The children times are the sum ! 34: of the children's process times and ! 35: their children's times. ! 36: .sh "SEE ALSO" ! 37: time(I) ! 38: .sh DIAGNOSTICS ! 39: \*- ! 40: .sh BUGS ! 41: The process times should be 32 bits as well.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.