Method Profiling

Method profiling enables you to monitor JADE and external methods called by a specified JADE process. Information recorded for each method includes the method name, the number of calls, as well as CPU time and clock time consumed by the method.

Method profiling differs from the JADE Interpreter method profiling documented under "Profiling an Application", in Chapter 1 of the JADE Runtime Application Guide, as you can initiate it by any process for any process in an application without requiring code changes, and it can record external methods as well as internal methods.

The Process instance used as the receiver indicates the process for which method profiling is to be applied. You can specify any current process.

A process can initiate method profiling on a target process and a different process can clear or end the profiling.

It is recommended that when investigating application performance, only one of the JADE Profiler, JADE Monitor, or method profiling is used at any one time, as the results reported when any of these are combined is undefined.

Methods specified as serverExecution are not profiled unless they are executed from server applications or in single user mode. For more details, see the following subsections.