cProcProfiler.StartProfiler(sname As String, Optional pLevel As ptLevels = ptLevelAll)
purpose
Starts a profiling session that will last until the FinishProfiler method is executed.
arguments
- sName –Purely informational and results will be reported against this name. In more complex examples, where multiple profilers are used, this name can be used as a key to distinguish from additional profilers you may want to create.
- pLevel – this is the depth of profiling you want to go to. Any section with a higher level of detail that this will not be processed or reported. The default is to do all levels. If you want to leave profiling code in your procedures, you can simply turn off reporting till you need it by selected ptLevelNone. Available values are
-
- ptLevelNone
- ptLevelLow
- ptLevelMedium
- ptLevelHigh
- ptLevelAll
returns
none