tic Subroutine

public subroutine tic(start_time)

Subroutine to start a wall clock timer.

tic() starts the wall clock timer. The subroutines records the wall clock time at execution of this command. Use toc(message) to log the elapsed time since the last call of tic().

tic(start_time) writes the value of the wall clock time at execution of this command to start_time. Calling this command, shall not change the module variable associated with calling tic().

Arguments

TypeIntentOptionalAttributesName
integer, intent(out), optional :: start_time

Optional output for the start time. If not present the time is written to a module variable.


Contents

None