StopProfiling
From Xojo Documentation
Method
Stops the Code Profiler from gathering profiling information.
Usage
StopProfiling
Notes
Call this method in the App.Open event to stop the Code Profiler from profiling all the code in your app. You can then call StartProfiling in only the methods you want to profile.
See Also
StartProfiling method; UserGuide:Code Profiler topic