On this tab of the
profiling settings dialog,
you can adjust various profiling options which govern the detail
of the collected profiling data and the execution speed of the profiled
application.
-
Time settings
-
CPU time measurement
Select whether you want times shown in the
CPU view section to be measured in
-
elapsed time
With elapsed time selected, the clock time difference between
method entry and method exit will be shown. Note that if the
thread state selector is set to
its standard setting (Runnable). Waiting, blocking and Net IO thread states
are not included in the displayed times.
-
estimated CPU time
With estimated CPU time selected, the CPU time used between
method entry and method exit will be shown. On Windows and Mac OS the
system supplies CPU times with a 10 ms resolution which are used to
calculate the estimated CPU times. On Linux and Solaris the VM does
not supply a CPU time and the estimated CPU times are roughly estimated
by looking at the number of runnable threads.
-
VM life cycle control
-
Keep VM alive
Keeps the VM alive until the frontend disconnects. This option allows you to profile
code sections which are close to a forced termination of the virtual machine.
Note: with the classic VM (e.g. IBM JVMs), this option installs a security manager which
intercepts your application's calls to
System.exit() and executes them after JProfiler's GUI front end
disconnects. This can be a problem
when you profile an application server which installs its own security manager.
If you use a classic VM and get security related exceptions when profiling your applications,
try unchecking this option.
-
Profiling agent debug parameters
Here you can enter debugging parameters
that can be passed to the profiling agent on the command line. This text box is not visible for remote sessions,
since you have to add those parameters to the start script yourself in that case.