cputic Subroutine

public subroutine cputic(start_time)

Subroutine to start a CPU timer.

cputic() starts the CPU timer. The subroutines records the processor time at execution of this command. Use cputoc(message) to log the elapsed time since the last call of cputic().

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

Arguments

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

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


Contents

None