flop_rate_add_flops Subroutine

private subroutine flop_rate_add_flops(self, flops)

add flops to the flop rate type, this will add the flops to the flop recorder Usage: call my_flop_rate%add_flops(1000)

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(inout) :: self
integer(kind=int64), intent(in) :: flops

Calls

proc~~flop_rate_add_flops~~CallsGraph proc~flop_rate_add_flops flop_rate_type%flop_rate_add_flops proc~add_flops flop_recorder_type%add_flops proc~flop_rate_add_flops->proc~add_flops

Source Code

   subroutine flop_rate_add_flops(self, flops)
      !! add flops to the flop rate type, this will add the flops to the flop recorder
      !! Usage: call my_flop_rate%add_flops(1000)
      !!
      !! where my_flop_rate is an instance of flop_rate_type
      !!
      class(flop_rate_type), intent(inout) :: self
      integer(int64), intent(in) :: flops

      call self%m_flops%add(flops)

   end subroutine flop_rate_add_flops