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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
program test15use kindsuse fortimeuse forunittestimplicit none type(timer)::ttype(unit_test)::utinteger::nl,nloops=3! Elapsed time with nloopscall t%timer_start()do nl=1,nloopscall sleep(1)! Perform operations ntimesend do call t%timer_stop(message='Elapsed time:',print=.false.)call t%timer_write('test/test15_etimes.txt')! Optionally, write the elapsed time to a filecall ut%check(res=t%elapsed_time,expected=real(nloops,rk)*1.0_rk,tol=1.0e-1_rk,msg='test15')end program test15