profiler_configure Subroutine

public subroutine profiler_configure(enabled, nested)

Configure profiling behavior at runtime.

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: enabled
logical, intent(in) :: nested

Calls

proc~~profiler_configure~~CallsGraph proc~profiler_configure mod_profiler::profiler_configure proc~profiler_reset mod_profiler::profiler_reset proc~profiler_configure->proc~profiler_reset

Called by

proc~~profiler_configure~~CalledByGraph proc~profiler_configure mod_profiler::profiler_configure program~lowmach_react_hex lowmach_react_hex program~lowmach_react_hex->proc~profiler_configure

Source Code

   subroutine profiler_configure(enabled, nested)
      logical, intent(in) :: enabled
      logical, intent(in) :: nested

      profiling_enabled = enabled
      nested_enabled = nested

      if (.not. profiling_enabled) then
         call profiler_reset()
      end if
   end subroutine profiler_configure