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 | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(flop_rate_type), | intent(inout) | :: | self | |||
integer(kind=int64), | intent(in) | :: | flops |
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