second(3f)

Name
second, dsecnd - returns elapsed execution time

Syntax
real second, seconds
external second
seconds = second()

real dsecnd, seconds
external dsecnd
seconds = dsecnd()
...
seconds = dsecnd()

Description
The second function returns in seconds the elapsed user CPU time for the calling process.

The dsecnd function returns in seconds the elapsed user CPU time since the last call was made to the function.

Files
libU77.a

See Also
etime(3f), mclock(3f), time(3f), wclock(3f)

Notes
Theses two functions arn't in the original BSD libU77.a, but are a Crayism. They are included here because some people don't want to rewrite their Cray code.