chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.heapprofiler.events / HeapProfilerEvent

HeapProfilerEvent

sealed class HeapProfilerEvent

Types

AddHeapSnapshotChunkEvent

Official doc

data class AddHeapSnapshotChunkEvent : HeapProfilerEvent

HeapStatsUpdateEvent

If heap objects tracking has been started then backend may send update for one or more fragments

data class HeapStatsUpdateEvent : HeapProfilerEvent

LastSeenObjectIdEvent

If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

data class LastSeenObjectIdEvent : HeapProfilerEvent

ReportHeapSnapshotProgressEvent

Official doc

data class ReportHeapSnapshotProgressEvent : HeapProfilerEvent

ResetProfilesEvent

Official doc

object ResetProfilesEvent : HeapProfilerEvent