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

Notes – Advanced

if you are only using one profiler, you will probably use the built in public object procProfiler, which is created through procProfilerConstruct(), which calls this method automatically.
For help and more information join our forum, follow the blog or follow me on Twitter