|
|
1.1 root 1: .TH ETIME 3F "26 July 1983"
2: .UC 4
3: .SH NAME
4: etime, dtime \- return elapsed execution time
5: .SH SYNOPSIS
6: .B function etime (tarray)
7: .br
8: .B real tarray(2)
9: .sp 1
10: .B function dtime (tarray)
11: .br
12: .B real tarray(2)
13: .SH DESCRIPTION
14: These two routines return elapsed runtime in seconds for the calling process.
15: .I Dtime
16: returns the elapsed time since the last call to
17: .I dtime,
18: or the start of execution on the first call.
19: .PP
20: The argument array returns user time in the first element and system time
21: in the second element.
22: The function value is the sum of user and system time.
23: .PP
24: The resolution of all timing is 1/HZ sec. where HZ is currently 60.
25: .SH FILES
26: .ie \nM /usr/ucb/lib/libU77.a
27: .el /usr/lib/libU77.a
28: .SH "SEE ALSO"
29: times(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.