mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
45 lines
1.8 KiB
Go
45 lines
1.8 KiB
Go
package heapprofiler
|
|
|
|
// Code generated by cdproto-gen. DO NOT EDIT.
|
|
|
|
// EventAddHeapSnapshotChunk [no description].
|
|
//
|
|
// See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-addHeapSnapshotChunk
|
|
type EventAddHeapSnapshotChunk struct {
|
|
Chunk string `json:"chunk"`
|
|
}
|
|
|
|
// EventHeapStatsUpdate if heap objects tracking has been started then
|
|
// backend may send update for one or more fragments.
|
|
//
|
|
// See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-heapStatsUpdate
|
|
type EventHeapStatsUpdate struct {
|
|
StatsUpdate []int64 `json:"statsUpdate"` // An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.
|
|
}
|
|
|
|
// EventLastSeenObjectID 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.
|
|
//
|
|
// See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-lastSeenObjectId
|
|
type EventLastSeenObjectID struct {
|
|
LastSeenObjectID int64 `json:"lastSeenObjectId"`
|
|
Timestamp float64 `json:"timestamp"`
|
|
}
|
|
|
|
// EventReportHeapSnapshotProgress [no description].
|
|
//
|
|
// See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-reportHeapSnapshotProgress
|
|
type EventReportHeapSnapshotProgress struct {
|
|
Done int64 `json:"done"`
|
|
Total int64 `json:"total"`
|
|
Finished bool `json:"finished,omitempty"`
|
|
}
|
|
|
|
// EventResetProfiles [no description].
|
|
//
|
|
// See: https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler#event-resetProfiles
|
|
type EventResetProfiles struct{}
|