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.
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.
Variables
Type
Visibility
Attributes
Name
Initial
real(kind=dp),
private
::
elapsed
integer,
private
::
idx
Source Code
subroutine profiler_stop(name)!! Stop a named profiling regioncharacter(len=*),intent(in)::nameinteger::idxreal(dp)::elapsed#ifdef DISABLE_PROFILERreturn#endifif(.not.state%enabled)return do idx=1,state%num_regionsif(trim(state%regions(idx)%name)==trim(name))exit end do if(idx>state%num_regions)return if(.not.state%regions(idx)%active)returnelapsed=get_wall_time()-state%regions(idx)%start_timecall nvtx_range_pop()state%regions(idx)%total_time=state%regions(idx)%total_time+elapsedstate%regions(idx)%call_count=state%regions(idx)%call_count+1state%regions(idx)%active=.false.end subroutine profiler_stop