flop_rate_get_time Function

private function flop_rate_get_time(self) result(time)

get the elapsed time in seconds from the timer contained in the flop rate type

Usage: time = my_flop_rate%get_time()

where my_flop_rate is an instance of flop_rate_type

Type Bound

flop_rate_type

Arguments

Type IntentOptional Attributes Name
class(flop_rate_type), intent(in) :: self

Return Value real(kind=dp)


Calls

proc~~flop_rate_get_time~~CallsGraph proc~flop_rate_get_time flop_rate_type%flop_rate_get_time proc~timer_get_elapsed_time pic_timer_type%timer_get_elapsed_time proc~flop_rate_get_time->proc~timer_get_elapsed_time

Source Code

   function flop_rate_get_time(self) result(time)
      !! get the elapsed time in seconds from the timer contained in the flop rate type
      !!
      !! Usage: time = my_flop_rate%get_time()
      !!
      !! where my_flop_rate is an instance of flop_rate_type
      !!
      class(flop_rate_type), intent(in) :: self
      real(dp) :: time

      time = self%m_timer%get_elapsed_time()

   end function flop_rate_get_time