test_accumulate_multi Subroutine

public subroutine test_accumulate_multi()

Arguments

None

Calls

proc~~test_accumulate_multi~~CallsGraph proc~test_accumulate_multi test_accumulate_multi none~accumulate BaseProfiler%accumulate proc~test_accumulate_multi->none~accumulate none~finalize~3 BaseProfiler%finalize proc~test_accumulate_multi->none~finalize~3 none~reset~4 BaseProfiler%reset proc~test_accumulate_multi->none~reset~4 none~start~84 TimeProfiler%start proc~test_accumulate_multi->none~start~84 accumulate accumulate none~accumulate->accumulate none~back~6 MeterNodeStack%back none~accumulate->none~back~6 none~get_root_node BaseProfiler%get_root_node none~accumulate->none~get_root_node none~finalize~15 AbstractMeter%finalize none~finalize~3->none~finalize~15 none~get_meter~4 MeterNode%get_meter none~finalize~3->none~get_meter~4 none~pop_back~6 MeterNodeStack%pop_back none~finalize~3->none~pop_back~6 begin begin none~reset~4->begin get_meter get_meter none~reset~4->get_meter next next none~reset~4->next none~reset~4->none~get_root_node none~start~3 BaseProfiler%start none~reset~4->none~start~3 reset reset none~reset~4->reset none~start_self~2 StubProfiler%start_self none~start~84->none~start_self~2 mpi_op_free mpi_op_free none~finalize~15->mpi_op_free mpi_type_free mpi_type_free none~finalize~15->mpi_type_free proc~mapl_verify MAPL_Verify none~finalize~15->proc~mapl_verify proc~mapl_return MAPL_Return none~start_self~2->proc~mapl_return none~start~3->none~start_self~2 at at proc~mapl_return->at insert insert proc~mapl_return->insert proc~mapl_throw_exception MAPL_throw_exception proc~mapl_return->proc~mapl_throw_exception proc~mapl_verify->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