profiler_disable Subroutine

public subroutine profiler_disable()

Disable profiling temporarily

Regions started while disabled will not be tracked. Use profiler_enable() to re-enable.

Arguments

None

Source Code

   subroutine profiler_disable()
      !! Disable profiling temporarily
      !!
      !! Regions started while disabled will not be tracked.
      !! Use profiler_enable() to re-enable.
#ifdef PIC_DISABLE_PROFILER
      return
#endif
      state%enabled = .false.
   end subroutine profiler_disable