unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

ETIME(3F)                                                            ETIME(3F)



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
       /usr/lib/libU77.a

SEE ALSO
       times(2)



4th Berkeley Distribution        26 July 1983                        ETIME(3F)