CPU statistics

## CPU statistics |
| up | next

| The CPU statistics view shows statically calculated thread resolved statistics for package and method resolved CPU times. To calculate a statistics, click Calculate statistics in the tool bar or select Edit->Calculate statistics from JProfiler's main menu. If a statistics has been calculated, the context menu also provides access to this action. Before a statistics is calculated, the CPU statistics options dialog is brought up. The resulting statistics table is static and can be re-calculated be executing Calculate statistics again. The statistics options dialog remembers your last selection.

| The package level statistics table displays two columns: Package the name of the package. If `cumulate packages` has been selected in the options dialog, every possible package in the package hierarchy will be displayed, even if there are no classes in it. Time the time spent in the package together with a percentage bar and a percentage value. If `cumulate packages` has been selected in the options dialog, times are cumulated for sub-packages. If the package is filtered, calls into other filtered classes are included in this time measurement.

| The class level statistics table displays two columns: Class the fully qualified name of the class. Time the time spent in the method of the class together with a percentage bar and a percentage value. If the class is filtered, calls into other filtered classes are included in this time measurement.

| The method statistics table displays three columns: Name the fully qualified name of the method. Time the time spent in the method together with a percentage bar and a percentage value. If the method is from a filtered class, the internal calls into other filtered methods are cumulated in this value. If the method belongs to a filtered class, calls into other filtered classes are included in this time measurement. Invocations the number of times this method was invoked. Note: If you would like to see all invoked methods in the JVM, please de-select all filter sets and switch to full instrumentation or sampling.