Documentation ¶
Index ¶
- Constants
- type ForciblyPurgeJavaScriptMemoryArgs
- type ForciblyPurgeJavaScriptMemoryReply
- type GetAllTimeSamplingProfileArgs
- type GetAllTimeSamplingProfileReply
- type GetBrowserSamplingProfileArgs
- type GetBrowserSamplingProfileReply
- type GetDOMCountersArgs
- type GetDOMCountersReply
- type GetSamplingProfileArgs
- type GetSamplingProfileReply
- type Module
- type PrepareForLeakDetectionArgs
- type PrepareForLeakDetectionReply
- type PressureLevel
- type SamplingProfile
- type SamplingProfileNode
- type SetPressureNotificationsSuppressedArgs
- type SetPressureNotificationsSuppressedReply
- type SimulatePressureNotificationArgs
- type SimulatePressureNotificationReply
- type StartSamplingArgs
- type StartSamplingReply
- type StopSamplingArgs
- type StopSamplingReply
Constants ¶
const ( CommandMemoryGetDOMCounters = "Memory.getDOMCounters" CommandMemoryPrepareForLeakDetection = "Memory.prepareForLeakDetection" CommandMemoryForciblyPurgeJavaScriptMemory = "Memory.forciblyPurgeJavaScriptMemory" CommandMemorySetPressureNotificationsSuppressed = "Memory.setPressureNotificationsSuppressed" CommandMemorySimulatePressureNotification = "Memory.simulatePressureNotification" CommandMemoryStartSampling = "Memory.startSampling" CommandMemoryStopSampling = "Memory.stopSampling" CommandMemoryGetAllTimeSamplingProfile = "Memory.getAllTimeSamplingProfile" CommandMemoryGetBrowserSamplingProfile = "Memory.getBrowserSamplingProfile" CommandMemoryGetSamplingProfile = "Memory.getSamplingProfile" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForciblyPurgeJavaScriptMemoryArgs ¶
type ForciblyPurgeJavaScriptMemoryArgs struct { }
ForciblyPurgeJavaScriptMemoryArgs represents the arguments for ForciblyPurgeJavaScriptMemory in the Memory domain.
func (*ForciblyPurgeJavaScriptMemoryArgs) MarshalJSON ¶
func (a *ForciblyPurgeJavaScriptMemoryArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for ForciblyPurgeJavaScriptMemory in the Memory domain.
func (*ForciblyPurgeJavaScriptMemoryArgs) UnmarshalJSON ¶
func (a *ForciblyPurgeJavaScriptMemoryArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for ForciblyPurgeJavaScriptMemory in the Memory domain.
type ForciblyPurgeJavaScriptMemoryReply ¶
type ForciblyPurgeJavaScriptMemoryReply struct { }
ForciblyPurgeJavaScriptMemoryReply represents the return values for ForciblyPurgeJavaScriptMemory in the Memory domain.
func (*ForciblyPurgeJavaScriptMemoryReply) GetFrameID ¶
func (a *ForciblyPurgeJavaScriptMemoryReply) GetFrameID() string
ForciblyPurgeJavaScriptMemoryReply returns the FrameID value for ForciblyPurgeJavaScriptMemory in the Memory domain.
func (*ForciblyPurgeJavaScriptMemoryReply) MatchFrameID ¶
func (a *ForciblyPurgeJavaScriptMemoryReply) MatchFrameID(frameID string, m []byte) (bool, error)
ForciblyPurgeJavaScriptMemoryReply returns whether or not the FrameID matches the reply value for ForciblyPurgeJavaScriptMemory in the Memory domain.
func (*ForciblyPurgeJavaScriptMemoryReply) UnmarshalJSON ¶
func (a *ForciblyPurgeJavaScriptMemoryReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for ForciblyPurgeJavaScriptMemory in the Memory domain.
type GetAllTimeSamplingProfileArgs ¶
type GetAllTimeSamplingProfileArgs struct { }
GetAllTimeSamplingProfileArgs represents the arguments for GetAllTimeSamplingProfile in the Memory domain.
func (*GetAllTimeSamplingProfileArgs) MarshalJSON ¶
func (a *GetAllTimeSamplingProfileArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for GetAllTimeSamplingProfile in the Memory domain.
func (*GetAllTimeSamplingProfileArgs) UnmarshalJSON ¶
func (a *GetAllTimeSamplingProfileArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for GetAllTimeSamplingProfile in the Memory domain.
type GetAllTimeSamplingProfileReply ¶
type GetAllTimeSamplingProfileReply struct {
Profile SamplingProfile `json:"profile"` // No description.
}
GetAllTimeSamplingProfileReply represents the return values for GetAllTimeSamplingProfile in the Memory domain.
func (*GetAllTimeSamplingProfileReply) GetFrameID ¶
func (a *GetAllTimeSamplingProfileReply) GetFrameID() string
GetAllTimeSamplingProfileReply returns the FrameID value for GetAllTimeSamplingProfile in the Memory domain.
func (*GetAllTimeSamplingProfileReply) MatchFrameID ¶
func (a *GetAllTimeSamplingProfileReply) MatchFrameID(frameID string, m []byte) (bool, error)
GetAllTimeSamplingProfileReply returns whether or not the FrameID matches the reply value for GetAllTimeSamplingProfile in the Memory domain.
func (*GetAllTimeSamplingProfileReply) UnmarshalJSON ¶
func (a *GetAllTimeSamplingProfileReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for GetAllTimeSamplingProfile in the Memory domain.
type GetBrowserSamplingProfileArgs ¶
type GetBrowserSamplingProfileArgs struct { }
GetBrowserSamplingProfileArgs represents the arguments for GetBrowserSamplingProfile in the Memory domain.
func (*GetBrowserSamplingProfileArgs) MarshalJSON ¶
func (a *GetBrowserSamplingProfileArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for GetBrowserSamplingProfile in the Memory domain.
func (*GetBrowserSamplingProfileArgs) UnmarshalJSON ¶
func (a *GetBrowserSamplingProfileArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for GetBrowserSamplingProfile in the Memory domain.
type GetBrowserSamplingProfileReply ¶
type GetBrowserSamplingProfileReply struct {
Profile SamplingProfile `json:"profile"` // No description.
}
GetBrowserSamplingProfileReply represents the return values for GetBrowserSamplingProfile in the Memory domain.
func (*GetBrowserSamplingProfileReply) GetFrameID ¶
func (a *GetBrowserSamplingProfileReply) GetFrameID() string
GetBrowserSamplingProfileReply returns the FrameID value for GetBrowserSamplingProfile in the Memory domain.
func (*GetBrowserSamplingProfileReply) MatchFrameID ¶
func (a *GetBrowserSamplingProfileReply) MatchFrameID(frameID string, m []byte) (bool, error)
GetBrowserSamplingProfileReply returns whether or not the FrameID matches the reply value for GetBrowserSamplingProfile in the Memory domain.
func (*GetBrowserSamplingProfileReply) UnmarshalJSON ¶
func (a *GetBrowserSamplingProfileReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for GetBrowserSamplingProfile in the Memory domain.
type GetDOMCountersArgs ¶
type GetDOMCountersArgs struct { }
GetDOMCountersArgs represents the arguments for GetDOMCounters in the Memory domain.
func (*GetDOMCountersArgs) MarshalJSON ¶
func (a *GetDOMCountersArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for GetDOMCounters in the Memory domain.
func (*GetDOMCountersArgs) UnmarshalJSON ¶
func (a *GetDOMCountersArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for GetDOMCounters in the Memory domain.
type GetDOMCountersReply ¶
type GetDOMCountersReply struct { Documents int `json:"documents"` // No description. Nodes int `json:"nodes"` // No description. JsEventListeners int `json:"jsEventListeners"` // No description. }
GetDOMCountersReply represents the return values for GetDOMCounters in the Memory domain.
func (*GetDOMCountersReply) GetFrameID ¶
func (a *GetDOMCountersReply) GetFrameID() string
GetDOMCountersReply returns the FrameID value for GetDOMCounters in the Memory domain.
func (*GetDOMCountersReply) MatchFrameID ¶
func (a *GetDOMCountersReply) MatchFrameID(frameID string, m []byte) (bool, error)
GetDOMCountersReply returns whether or not the FrameID matches the reply value for GetDOMCounters in the Memory domain.
func (*GetDOMCountersReply) UnmarshalJSON ¶
func (a *GetDOMCountersReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for GetDOMCounters in the Memory domain.
type GetSamplingProfileArgs ¶
type GetSamplingProfileArgs struct { }
GetSamplingProfileArgs represents the arguments for GetSamplingProfile in the Memory domain.
func (*GetSamplingProfileArgs) MarshalJSON ¶
func (a *GetSamplingProfileArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for GetSamplingProfile in the Memory domain.
func (*GetSamplingProfileArgs) UnmarshalJSON ¶
func (a *GetSamplingProfileArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for GetSamplingProfile in the Memory domain.
type GetSamplingProfileReply ¶
type GetSamplingProfileReply struct {
Profile SamplingProfile `json:"profile"` // No description.
}
GetSamplingProfileReply represents the return values for GetSamplingProfile in the Memory domain.
func (*GetSamplingProfileReply) GetFrameID ¶
func (a *GetSamplingProfileReply) GetFrameID() string
GetSamplingProfileReply returns the FrameID value for GetSamplingProfile in the Memory domain.
func (*GetSamplingProfileReply) MatchFrameID ¶
func (a *GetSamplingProfileReply) MatchFrameID(frameID string, m []byte) (bool, error)
GetSamplingProfileReply returns whether or not the FrameID matches the reply value for GetSamplingProfile in the Memory domain.
func (*GetSamplingProfileReply) UnmarshalJSON ¶
func (a *GetSamplingProfileReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for GetSamplingProfile in the Memory domain.
type Module ¶
type Module struct { Name string `json:"name"` // Name of the module. UUID string `json:"uuid"` // UUID of the module. BaseAddress string `json:"baseAddress"` // Base address where the module is loaded into memory. Encoded as a decimal or hexadecimal (0x prefixed) string. Size float64 `json:"size"` // Size of the module in bytes. }
Module Executable module information
type PrepareForLeakDetectionArgs ¶
type PrepareForLeakDetectionArgs struct { }
PrepareForLeakDetectionArgs represents the arguments for PrepareForLeakDetection in the Memory domain.
func (*PrepareForLeakDetectionArgs) MarshalJSON ¶
func (a *PrepareForLeakDetectionArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for PrepareForLeakDetection in the Memory domain.
func (*PrepareForLeakDetectionArgs) UnmarshalJSON ¶
func (a *PrepareForLeakDetectionArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for PrepareForLeakDetection in the Memory domain.
type PrepareForLeakDetectionReply ¶
type PrepareForLeakDetectionReply struct { }
PrepareForLeakDetectionReply represents the return values for PrepareForLeakDetection in the Memory domain.
func (*PrepareForLeakDetectionReply) GetFrameID ¶
func (a *PrepareForLeakDetectionReply) GetFrameID() string
PrepareForLeakDetectionReply returns the FrameID value for PrepareForLeakDetection in the Memory domain.
func (*PrepareForLeakDetectionReply) MatchFrameID ¶
func (a *PrepareForLeakDetectionReply) MatchFrameID(frameID string, m []byte) (bool, error)
PrepareForLeakDetectionReply returns whether or not the FrameID matches the reply value for PrepareForLeakDetection in the Memory domain.
func (*PrepareForLeakDetectionReply) UnmarshalJSON ¶
func (a *PrepareForLeakDetectionReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for PrepareForLeakDetection in the Memory domain.
type PressureLevel ¶
type PressureLevel string
PressureLevel Memory pressure level.
const ( PressureLevelNotSet PressureLevel = "" PressureLevelModerate PressureLevel = "moderate" PressureLevelCritical PressureLevel = "critical" )
PressureLevel as enums.
func (PressureLevel) String ¶
func (e PressureLevel) String() string
func (PressureLevel) Valid ¶
func (e PressureLevel) Valid() bool
type SamplingProfile ¶
type SamplingProfile struct { Samples []SamplingProfileNode `json:"samples"` // No description. Modules []Module `json:"modules"` // No description. }
SamplingProfile Array of heap profile samples.
type SamplingProfileNode ¶
type SamplingProfileNode struct { Size float64 `json:"size"` // Size of the sampled allocation. Total float64 `json:"total"` // Total bytes attributed to this sample. Stack []string `json:"stack"` // Execution stack at the point of allocation. }
SamplingProfileNode Heap profile sample.
type SetPressureNotificationsSuppressedArgs ¶
type SetPressureNotificationsSuppressedArgs struct {
Suppressed bool `json:"suppressed"` // If true, memory pressure notifications will be suppressed.
}
SetPressureNotificationsSuppressedArgs represents the arguments for SetPressureNotificationsSuppressed in the Memory domain.
func (*SetPressureNotificationsSuppressedArgs) MarshalJSON ¶
func (a *SetPressureNotificationsSuppressedArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for SetPressureNotificationsSuppressed in the Memory domain.
func (*SetPressureNotificationsSuppressedArgs) UnmarshalJSON ¶
func (a *SetPressureNotificationsSuppressedArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for SetPressureNotificationsSuppressed in the Memory domain.
type SetPressureNotificationsSuppressedReply ¶
type SetPressureNotificationsSuppressedReply struct { }
SetPressureNotificationsSuppressedReply represents the return values for SetPressureNotificationsSuppressed in the Memory domain.
func (*SetPressureNotificationsSuppressedReply) GetFrameID ¶
func (a *SetPressureNotificationsSuppressedReply) GetFrameID() string
SetPressureNotificationsSuppressedReply returns the FrameID value for SetPressureNotificationsSuppressed in the Memory domain.
func (*SetPressureNotificationsSuppressedReply) MatchFrameID ¶
func (a *SetPressureNotificationsSuppressedReply) MatchFrameID(frameID string, m []byte) (bool, error)
SetPressureNotificationsSuppressedReply returns whether or not the FrameID matches the reply value for SetPressureNotificationsSuppressed in the Memory domain.
func (*SetPressureNotificationsSuppressedReply) UnmarshalJSON ¶
func (a *SetPressureNotificationsSuppressedReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for SetPressureNotificationsSuppressed in the Memory domain.
type SimulatePressureNotificationArgs ¶
type SimulatePressureNotificationArgs struct {
Level PressureLevel `json:"level"` // Memory pressure level of the notification.
}
SimulatePressureNotificationArgs represents the arguments for SimulatePressureNotification in the Memory domain.
func (*SimulatePressureNotificationArgs) MarshalJSON ¶
func (a *SimulatePressureNotificationArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for SimulatePressureNotification in the Memory domain.
func (*SimulatePressureNotificationArgs) UnmarshalJSON ¶
func (a *SimulatePressureNotificationArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for SimulatePressureNotification in the Memory domain.
type SimulatePressureNotificationReply ¶
type SimulatePressureNotificationReply struct { }
SimulatePressureNotificationReply represents the return values for SimulatePressureNotification in the Memory domain.
func (*SimulatePressureNotificationReply) GetFrameID ¶
func (a *SimulatePressureNotificationReply) GetFrameID() string
SimulatePressureNotificationReply returns the FrameID value for SimulatePressureNotification in the Memory domain.
func (*SimulatePressureNotificationReply) MatchFrameID ¶
func (a *SimulatePressureNotificationReply) MatchFrameID(frameID string, m []byte) (bool, error)
SimulatePressureNotificationReply returns whether or not the FrameID matches the reply value for SimulatePressureNotification in the Memory domain.
func (*SimulatePressureNotificationReply) UnmarshalJSON ¶
func (a *SimulatePressureNotificationReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for SimulatePressureNotification in the Memory domain.
type StartSamplingArgs ¶
type StartSamplingArgs struct { SamplingInterval int `json:"samplingInterval,omitempty"` // Average number of bytes between samples. SuppressRandomness bool `json:"suppressRandomness,omitempty"` // Do not randomize intervals between samples. }
StartSamplingArgs represents the arguments for StartSampling in the Memory domain.
func (*StartSamplingArgs) MarshalJSON ¶
func (a *StartSamplingArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for StartSampling in the Memory domain.
func (*StartSamplingArgs) UnmarshalJSON ¶
func (a *StartSamplingArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for StartSampling in the Memory domain.
type StartSamplingReply ¶
type StartSamplingReply struct { }
StartSamplingReply represents the return values for StartSampling in the Memory domain.
func (*StartSamplingReply) GetFrameID ¶
func (a *StartSamplingReply) GetFrameID() string
StartSamplingReply returns the FrameID value for StartSampling in the Memory domain.
func (*StartSamplingReply) MatchFrameID ¶
func (a *StartSamplingReply) MatchFrameID(frameID string, m []byte) (bool, error)
StartSamplingReply returns whether or not the FrameID matches the reply value for StartSampling in the Memory domain.
func (*StartSamplingReply) UnmarshalJSON ¶
func (a *StartSamplingReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for StartSampling in the Memory domain.
type StopSamplingArgs ¶
type StopSamplingArgs struct { }
StopSamplingArgs represents the arguments for StopSampling in the Memory domain.
func (*StopSamplingArgs) MarshalJSON ¶
func (a *StopSamplingArgs) MarshalJSON() ([]byte, error)
Marshall the byte array into a return value for StopSampling in the Memory domain.
func (*StopSamplingArgs) UnmarshalJSON ¶
func (a *StopSamplingArgs) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for StopSampling in the Memory domain.
type StopSamplingReply ¶
type StopSamplingReply struct { }
StopSamplingReply represents the return values for StopSampling in the Memory domain.
func (*StopSamplingReply) GetFrameID ¶
func (a *StopSamplingReply) GetFrameID() string
StopSamplingReply returns the FrameID value for StopSampling in the Memory domain.
func (*StopSamplingReply) MatchFrameID ¶
func (a *StopSamplingReply) MatchFrameID(frameID string, m []byte) (bool, error)
StopSamplingReply returns whether or not the FrameID matches the reply value for StopSampling in the Memory domain.
func (*StopSamplingReply) UnmarshalJSON ¶
func (a *StopSamplingReply) UnmarshalJSON(b []byte) error
Unmarshal the byte array into a return value for StopSampling in the Memory domain.