stats_after Subroutine

private subroutine stats_after(self, exitstat, seconds)

Update run counter after each completed command execution.

The exit status and runtime are currently not used by this feature.

Type Bound

stats_feature_t

Arguments

Type IntentOptional Attributes Name
class(stats_feature_t), intent(inout) :: self
integer, intent(in) :: exitstat
real, intent(in) :: seconds

Source Code

   subroutine stats_after(self, exitstat, seconds)
      class(stats_feature_t), intent(inout) :: self
      integer, intent(in) :: exitstat
      real, intent(in) :: seconds
      self%runs = self%runs + 1
      if (.false.) then
         if (exitstat /= 0) continue
         if (seconds < 0.0) continue
      end if
   end subroutine stats_after