Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | TimeUsed_CPUTime |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
SUBROUTINE epSummaryTimes(TimeUsed_CPUTime)
! SUBROUTINE INFORMATION:
! AUTHOR Linda Lawrie
! DATE WRITTEN January 2012
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Print summary of timings from timing scheme using start-stop (ref: epStartTime, epStopTime) that will help
! developers pinpoint problems.
! METHODOLOGY EMPLOYED:
! structure similar to recurring error structure.
! REFERENCES:
! na
! USE STATEMENTS:
USE General, ONLY: RoundSigDigits
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
REAL(r64) :: TimeUsed_CPUTime
! SUBROUTINE PARAMETER DEFINITIONS:
CHARACTER(len=*), PARAMETER :: fmta='(A)'
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER loop
INTEGER :: EchoInputFile
INTEGER, EXTERNAL :: FindUnitNumber
#ifdef EP_NO_Timings
RETURN
#endif
#ifdef EP_Timings
EchoInputFile=FindUnitNumber('eplusout.audit')
WRITE(EchoInputFile,fmta) 'Timing Element'//tabchar//'# calls'//tabchar//'Time {s}'//tabchar//'Time {s} (per call)'
DO loop=1,NumTimingElements
IF (Timing(loop)%calls > 0) THEN
WRITE(EchoInputFile,fmta) trim(Timing(loop)%Element)//tabchar//trim(RoundSigDigits(Timing(loop)%calls))// &
tabchar//trim(RoundSigDigits(Timing(loop)%currentTimeSum,3))//tabchar// &
trim(RoundSigDigits(Timing(loop)%currentTimeSum/REAL(Timing(loop)%calls,r64),3))
ELSE
WRITE(EchoInputFile,fmta) trim(Timing(loop)%Element)//tabchar//trim(RoundSigDigits(Timing(loop)%calls))// &
tabchar//trim(RoundSigDigits(Timing(loop)%currentTimeSum,3))//tabchar// &
trim(RoundSigDigits(-999.0d0,3))
ENDIF
ENDDO
WRITE(EchoInputFile,fmta) 'Time from CPU_Time'//tabchar//trim(RoundSigDigits(TimeUsed_CPUTime,3))
RETURN
#endif
END SUBROUTINE epSummaryTimes