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
integer,
private
::
i
Source Code
function find_or_create_region(name)result(idx)character(len=*),intent(in)::nameinteger::idxinteger::ido i=1,state%num_regionsif(trim(state%regions(i)%name)==trim(name))thenidx=ireturn end if end do if(state%num_regions<MAX_REGIONS)thenstate%num_regions=state%num_regions+1idx=state%num_regionsstate%regions(idx)%name=trim(name)state%regions(idx)%total_time=0.0_dpstate%regions(idx)%call_count=0state%regions(idx)%active=.false.elseidx=-1end if end function find_or_create_region