Finalize the profiler and release resources
Should be called at the end of the program after profiler_report().
subroutine profiler_finalize() !! Finalize the profiler and release resources !! !! Should be called at the end of the program after profiler_report(). #ifdef PIC_DISABLE_PROFILER return #endif state%initialized = .false. state%num_regions = 0 state%stack_depth = 0 end subroutine profiler_finalize