beginMethodProfiling
beginMethodProfiling(option: Integer);
The beginMethodProfiling method of the Process class starts method profiling for the receiving Process instance, which can be any current process including processes running on other nodes.
The values for the option parameter and the corresponding range of methods to be profiled are listed in the following table.
Value | Profiles … |
---|---|
1 | All called methods, whether nominated or not |
2 | Nominated methods and their nested method calls |
3 | Nominated methods only |
Methods are nominated using the profileMethod method of the Process class.
The following actions occur if the beginMethodProfiling method is called when profiling is already in effect for the target process.
-
Profiling information is reset
-
The profiling option is adjusted to match the option parameter
-
The list of nominated methods is retained
One process can start 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