etime man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

ETIME(3F)							     ETIME(3F)

NAME
       etime, dtime - return elapsed time

SYNOPSIS
       real function etime (time)
       real time(2)

       real function dtime (time)
       real time(2)

DESCRIPTION
       These functions return elapsed time in seconds.

       Versions of etime and dtime used by f95 use the system's low resolution
       clock by default, the resolution of which is one hundreth of a  second.
       However,	 if  the  program  is  run  under  the	SunOS utility ptime, (
       /usr/proc/bin/ptime), etime and dtime use the high resolution clock.

       NOTE: The very first call to etime or dtime may be inaccurate.

       If there is an error:

       · Argument elements time(1) and time(2) are undefined

       · Function return value = -1.0

       If there is no error:

       · Argument: user time in time(1) and system time in time(2)

       · Function return value: sum of time(1) and time(2)

       dtime returns the elapsed time since the last call to dtime.

       For dtime, the elapsed time is:

       · On the first call, elapsed time since the start of execution

       · On the second and subsequent calls, the elapsed time since  the  last
	 call to dtime

       · For single processor, the time used by the CPU

       · For  multiple processors, the sum of times for all the CPUs (not use‐
	 ful, use etime)
	 Note: Do not call dtime from within a parallelized loop.

       etime returns the elapsed time since the start of execution.

       For etime, the elapsed time is:

       · For single processor: the CPU time for the calling process

       · For multiple processors: the wall-clock time while running your  pro‐
	 gram
	 Note: time(1) contains the wall clock time; time(2) is 0.0.

       etime determines single versus multiple processing depending on whether
       the environment variables PARALLEL or OMP_NUM_THREADS are:

       Undefined,
	      then the current run is single processor.

       Defined, and in the range 1, 2, 3, ...,
	      then the current run is multiple processor.

       Defined, but some value other than 1, 2, 3, ...,
	      then the results are unpredictable.

FILES
       libfui.a, libfui.so

SEE ALSO
       times(2), Fortran User's Guide and the Fortran Library Reference

				  2002/11/26			     ETIME(3F)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net