You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.3 KiB
61 lines
1.3 KiB
2 years ago
|
*> \brief \b SECOND Using ETIME
|
||
|
*
|
||
|
* =========== DOCUMENTATION ===========
|
||
|
*
|
||
|
* Online html documentation available at
|
||
|
* http://www.netlib.org/lapack/explore-html/
|
||
|
*
|
||
|
* Definition:
|
||
|
* ===========
|
||
|
*
|
||
|
* REAL FUNCTION SECOND( )
|
||
|
*
|
||
|
*
|
||
|
*> \par Purpose:
|
||
|
* =============
|
||
|
*>
|
||
|
*> \verbatim
|
||
|
*>
|
||
|
*> SECOND returns the user time for a process in seconds.
|
||
|
*> This version gets the time from the EXTERNAL system function ETIME.
|
||
|
*> \endverbatim
|
||
|
*
|
||
|
* Authors:
|
||
|
* ========
|
||
|
*
|
||
|
*> \author Univ. of Tennessee
|
||
|
*> \author Univ. of California Berkeley
|
||
|
*> \author Univ. of Colorado Denver
|
||
|
*> \author NAG Ltd.
|
||
|
*
|
||
|
*> \ingroup auxOTHERauxiliary
|
||
|
*
|
||
|
* =====================================================================
|
||
|
REAL FUNCTION SECOND( )
|
||
|
*
|
||
|
* -- LAPACK auxiliary routine --
|
||
|
* -- LAPACK is a software package provided by Univ. of Tennessee, --
|
||
|
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
|
||
|
*
|
||
|
* =====================================================================
|
||
|
*
|
||
|
* .. Local Scalars ..
|
||
|
REAL T1
|
||
|
* ..
|
||
|
* .. Local Arrays ..
|
||
|
REAL TARRAY( 2 )
|
||
|
* ..
|
||
|
* .. External Functions ..
|
||
|
REAL ETIME
|
||
|
EXTERNAL ETIME
|
||
|
* ..
|
||
|
* .. Executable Statements ..
|
||
|
*
|
||
|
T1 = ETIME( TARRAY )
|
||
|
SECOND = TARRAY( 1 )
|
||
|
RETURN
|
||
|
*
|
||
|
* End of SECOND
|
||
|
*
|
||
|
END
|