Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | StartTime | |||
real(kind=r64), | intent(in) | :: | EndTime |
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.
FUNCTION CreateTimeIntervalString(StartTime, EndTime) RESULT(OutputString)
! FUNCTION INFORMATION:
! AUTHOR Dimitri Curtil
! DATE WRITTEN January 2005
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! This function creates the time stamp with the current time interval from start and end
! time values specified in seconds.
! Inspired by similar function CreateSysTimeIntervalString() in General.f90
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
REAL(r64), INTENT(IN) :: StartTime ! Start of current interval in seconds
REAL(r64), INTENT(IN) :: EndTime ! End of current interval in seconds
CHARACTER(len=32) :: OutputString ! Contains time stamp
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
CHARACTER(len=10) TimeStmpS ! Character representation of start of interval
CHARACTER(len=10) TimeStmpE ! Character representation of end of interval
TimeStmpS = CreateTimeString( StartTime )
TimeStmpS = ADJUSTL(TimeStmpS)
TimeStmpE = CreateTimeString( EndTime )
TimeStmpE = ADJUSTL(TimeStmpE)
OutputString = TRIM(TimeStmpS)//' - '//TRIM(TimeStmpE)
RETURN
END FUNCTION CreateTimeIntervalString