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