profiler

profiler(): JadeProfiler;

The profiler method of the Process class returns a reference to the profiler for the receiving process. If no instance of the JadeProfiler class exists, it is created. (You therefore do not have to create a profiler instance nor delete it in an epilog at the end of your method.)