test_accumulate_multi Subroutine

public subroutine test_accumulate_multi()

Arguments

None

Calls

proc~~test_accumulate_multi~~CallsGraph proc~test_accumulate_multi test_TimeProfiler::test_accumulate_multi none~accumulate mapl_BaseProfiler::BaseProfiler%accumulate proc~test_accumulate_multi->none~accumulate none~finalize mapl_BaseProfiler::BaseProfiler%finalize proc~test_accumulate_multi->none~finalize none~reset mapl_BaseProfiler::BaseProfiler%reset proc~test_accumulate_multi->none~reset none~start mapl_TimeProfiler_private::TimeProfiler%start proc~test_accumulate_multi->none~start accumulate accumulate none~accumulate->accumulate none~back mapl_MeterNodeStack::MeterNodeStack%back none~accumulate->none~back none~get_root_node mapl_BaseProfiler::BaseProfiler%get_root_node none~accumulate->none~get_root_node none~finalize~2 MAPL_AbstractMeter::AbstractMeter%finalize none~finalize->none~finalize~2 none~get_meter MAPL_MeterNode::MeterNode%get_meter none~finalize->none~get_meter none~pop_back mapl_MeterNodeStack::MeterNodeStack%pop_back none~finalize->none~pop_back begin begin none~reset->begin get_meter get_meter none~reset->get_meter next next none~reset->next none~reset->none~get_root_node none~start~2 mapl_BaseProfiler::BaseProfiler%start none~reset->none~start~2 reset reset none~reset->reset none~start_self mapl_BaseProfiler::BaseProfiler%start_self none~start->none~start_self mpi_op_free mpi_op_free none~finalize~2->mpi_op_free mpi_type_free mpi_type_free none~finalize~2->mpi_type_free none~start_self->none~start~2 interface~mapl_assert MAPL_ErrorHandlingMod::MAPL_Assert none~start_self->interface~mapl_assert none~get_name MAPL_MeterNode::MeterNode%get_name none~start_self->none~get_name proc~mapl_return MAPL_ErrorHandlingMod::MAPL_Return none~start_self->proc~mapl_return none~start~2->none~start_self at at proc~mapl_return->at insert insert proc~mapl_return->insert proc~mapl_throw_exception MAPL_ThrowMod::MAPL_throw_exception proc~mapl_return->proc~mapl_throw_exception

Source Code

   subroutine test_accumulate_multi()
      type(TimeProfiler), target :: main, lap

      main = TimeProfiler('main')
      call main%start()
      lap = TimeProfiler('lap')
      call lap%start()
      call lap%start('A')
      call lap%stop('A')
      call lap%finalize()
      call main%accumulate(lap)

      call lap%reset()
      call lap%start('A')
      call lap%stop('A')
      call lap%finalize()
      call main%accumulate(lap)
      
      
   end subroutine test_accumulate_multi