Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Source Code
subroutine mg_timers_show(mg)use mpitype(mg_t),intent(in)::mginteger::n,ierrreal(dp)::tmin(mg%n_timers)real(dp)::tmax(mg%n_timers)call mpi_reduce(mg%timers(1:mg%n_timers)%t,tmin,mg%n_timers,mpi_double,&mpi_min,0,mg%comm,ierr)call mpi_reduce(mg%timers(1:mg%n_timers)%t,tmax,mg%n_timers,mpi_double,&mpi_max,0,mg%comm,ierr)if(mg%my_rank==0)then write(*,"(A20,2A16)")"name ","min(s)","max(s)"do n=1,mg%n_timerswrite(*,"(A20,2F16.6)")mg%timers(n)%name,tmin(n),tmax(n)end do end if end subroutine mg_timers_show