timer_elapsed_running_s Function

public function timer_elapsed_running_s(t)

Return elapsed wall time in seconds, including the current running segment.

Unlike @p timer_elapsed_s, this function is safe to call while the timer is still running: if @p t%running is @p .true., the in-progress segment (from the last @p timer_start to now) is included in the result. If the timer is stopped it is equivalent to @p timer_elapsed_s.

Arguments

Type IntentOptional Attributes Name
type(timer_t), intent(in) :: t

Timer to query.

Return Value real(kind=real64)