Recording method statistics is a memory intensive operation, so it is split from regular CPU recording.
To record method statistics, click
Record
method statistics in the tool bar or select View->Record method statistics
from JProfiler's main menu. If you have previously recorded method statistics, the old recorded data will
be lost. Bookmarks will be added when recording is started
or stopped manually.
If CPU recording is not enabled, it will be enabled when you start recording method statistics. Note that CPU recording will not be stopped when you stop recording method statistics.
You can sort the table on all columns. Double-clicking on a table row will show the source code of the selected method.
By default, the graph shows invocation counts on a linear scale. However, in order to identify outliers with a low relative frequency, it is useful to switch to a logarithmic axis. This can be done in the view settings or in the context menu.
The graph can be exported to HTML or CSV by right-clicking into the graph area and selecting Export from the context menu. The export action in the tool bar and in the context menu of the method table export the method table without the currently shown graph.
In this mode, the call duration axis can be scrolled with the scrollbar on the bottom which appears if the total extent of the axis does not fit into the current view size.
You can adjust the scale of the call duration axis byzooming in or out.
Zooming in increases
the level of detail while
zooming out decreases
it. You change the zoom level by
The time scale on the call duration axis is adjusted in order to show the total extent of the axis in the current size of the view. Zooming is not possible in this mode.