xref: /original-bsd/share/man/man3f/etime.3 (revision c471a344)
Copyright (c) 1983 The Regents of the University of California.
All rights reserved.

%sccs.include.proprietary.roff%

@(#)etime.3 6.2 (Berkeley) 04/30/91

ETIME 3F ""
C 5
NAME
etime, dtime - return elapsed execution time
SYNOPSIS
function etime (tarray)

real tarray(2) function dtime (tarray)

real tarray(2)

DESCRIPTION
These two routines return elapsed runtime in seconds for the calling process. Dtime returns the elapsed time since the last call to dtime, or the start of execution on the first call.

The argument array returns user time in the first element and system time in the second element. The function value is the sum of user and system time.

The resolution of all timing is 1/HZ sec. where HZ is currently 60.

FILES
"SEE ALSO"
times(2)