Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dtime(3F) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

times(2)

ETIME(3F)

+U77 FORTRAN compile-line option required

NAME

etime, dtime − return elapsed execution time

SYNOPSIS

REAL*4 function etime (tarray)
REAL*4 tarray(2) REAL*4 function dtime (tarray)
REAL*4 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/CLK_TCK seconds, where CLK_TCK is processor dependent.  The value of CLK_TCK can be queried using the sysconf(2) call.

FILES

/usr/lib/libU77.a

SEE ALSO

times(2)

Hewlett-Packard Company  —  HP-UX Release 9.0: June 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026