Overview | Package | Class | Tree | Deprecated | Index | Help
| JProfiler API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jprofiler.api.platform.data
Interface CpuHotspots

    public interface CpuHotspots

Data object for CPU hot spots.

This object is returned by `Connection.getCpuHotspots`.

Method Summary
`java.util.List<ProfilingValue>` | `getHotspots()` Returns the hot spot values.
`long` | `getTotalTime()` Returns the total execution time in microseconds for all hot spots that are included in this data object.

Method Detail

### getTotalTime

    long getTotalTime()

  Returns the total execution time in microseconds for all hot spots that are included in this data object.

  Returns:
    the total execution time in microseconds

### getHotspots

    java.util.List<ProfilingValue> getHotspots()

  Returns the hot spot values. This list is unsorted. The descriptor type of the `ProfilingValue` objects depends on the aggregation level that was specified for the calculation of the allocation hot spots.

  Returns:
    the list of hot spot values

Overview | Package | Class | Tree | Deprecated | Index | Help
| JProfiler API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD