MemCom Reference Manual > MemCom (Old) Fortran77 API > Utility Functions > getel

Name

getelr, getelr8, getelt, getelt8 — Inquire elapsed wall time

Synopsis

subroutine getelr(sec)
real sec

subroutine getelr8(sec)
real*8 sec

subroutine getelt(sec)
real*4 sec

subroutine getelt8(sec)
real*8 sec

Description

getelt returns the elapsed wall time (in seconds) since the start of the program. getelr returns the wall time (in seconds) since the last call to getelr and it re-initializes the wall-time counter. The procedures return the elapsed wall time in seconds with a resolution of 1 micro-second on UNIX systems.

Parameters

sec

Elapsed wall time in seconds returned (output).