Configure profiling behavior at runtime.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | enabled | |||
| logical, | intent(in) | :: | nested |
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