flop_rate_get_flops Function

private function flop_rate_get_flops(self) result(flops)

get the number of flops recorded in the flop rate type

Usage: flops = my_flop_rate%get_flops()

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 integer(kind=int64)


Calls

proc~~flop_rate_get_flops~~CallsGraph proc~flop_rate_get_flops flop_rate_type%flop_rate_get_flops proc~get_flops flop_recorder_type%get_flops proc~flop_rate_get_flops->proc~get_flops

Source Code

   function flop_rate_get_flops(self) result(flops)
      !! get the number of flops recorded in the flop rate type
      !!
      !! Usage: flops = my_flop_rate%get_flops()
      !!
      !! where my_flop_rate is an instance of flop_rate_type
      !!
      class(flop_rate_type), intent(in) :: self
      integer(int64) :: flops

      flops = self%m_flops%get()

   end function flop_rate_get_flops