Add the missing initialization/end of the profiling tool.
Description
Add the missing initialization/end of the profiling tool.
News snippet
Add the missing initialization/end.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.