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
integer,
private
::
idx
Source Code
subroutine profiler_start(name,nvtx_only)!! Start a named profiling region!! If nvtx_only is true, the region only appears in NVTX timeline, not in text reportcharacter(len=*),intent(in)::namelogical,intent(in),optional::nvtx_onlyinteger::idx#ifdef DISABLE_PROFILERreturn#endifif(.not.state%enabled)returnidx=find_or_create_region(name)if(idx<0)return if(state%regions(idx)%active)return if(present(nvtx_only).and.state%regions(idx)%call_count==0)thenstate%regions(idx)%nvtx_only=nvtx_onlyend ifstate%regions(idx)%active=.true.call nvtx_range_push(name)state%regions(idx)%start_time=get_wall_time()end subroutine profiler_start