package memory

Import Path
	github.com/chromedp/cdproto/memory (on go.dev)

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files easyjson.go Package memory provides the Chrome DevTools Protocol commands, types, and events for the Memory domain. Generated by the cdproto-gen command. types.go
Package-Level Type Names (total 18)
/* sort by: | */
ForciblyPurgeJavaScriptMemoryParams simulate OomIntervention by purging V8 memory. Do executes Memory.forciblyPurgeJavaScriptMemory against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.Action *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.CallAction *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.EmulateAction *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.EvaluateAction *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.KeyAction *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.MouseAction *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.NavigateAction *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.PollAction *ForciblyPurgeJavaScriptMemoryParams : github.com/chromedp/chromedp.QueryAction ForciblyPurgeJavaScriptMemoryParams : github.com/goccy/go-json.Marshaler *ForciblyPurgeJavaScriptMemoryParams : github.com/goccy/go-json.Unmarshaler ForciblyPurgeJavaScriptMemoryParams : github.com/mailru/easyjson.Marshaler *ForciblyPurgeJavaScriptMemoryParams : github.com/mailru/easyjson.MarshalerUnmarshaler *ForciblyPurgeJavaScriptMemoryParams : github.com/mailru/easyjson.Unmarshaler ForciblyPurgeJavaScriptMemoryParams : encoding/json.Marshaler *ForciblyPurgeJavaScriptMemoryParams : encoding/json.Unmarshaler func ForciblyPurgeJavaScriptMemory() *ForciblyPurgeJavaScriptMemoryParams
GetAllTimeSamplingProfileParams retrieve native memory allocations profile collected since renderer process startup. Do executes Memory.getAllTimeSamplingProfile against the provided context. returns: profile MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetAllTimeSamplingProfileParams : github.com/goccy/go-json.Marshaler *GetAllTimeSamplingProfileParams : github.com/goccy/go-json.Unmarshaler GetAllTimeSamplingProfileParams : github.com/mailru/easyjson.Marshaler *GetAllTimeSamplingProfileParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetAllTimeSamplingProfileParams : github.com/mailru/easyjson.Unmarshaler GetAllTimeSamplingProfileParams : encoding/json.Marshaler *GetAllTimeSamplingProfileParams : encoding/json.Unmarshaler func GetAllTimeSamplingProfile() *GetAllTimeSamplingProfileParams
GetAllTimeSamplingProfileReturns return values. Profile *SamplingProfile MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetAllTimeSamplingProfileReturns : github.com/goccy/go-json.Marshaler *GetAllTimeSamplingProfileReturns : github.com/goccy/go-json.Unmarshaler GetAllTimeSamplingProfileReturns : github.com/mailru/easyjson.Marshaler *GetAllTimeSamplingProfileReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetAllTimeSamplingProfileReturns : github.com/mailru/easyjson.Unmarshaler GetAllTimeSamplingProfileReturns : encoding/json.Marshaler *GetAllTimeSamplingProfileReturns : encoding/json.Unmarshaler
GetBrowserSamplingProfileParams retrieve native memory allocations profile collected since browser process startup. Do executes Memory.getBrowserSamplingProfile against the provided context. returns: profile MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetBrowserSamplingProfileParams : github.com/goccy/go-json.Marshaler *GetBrowserSamplingProfileParams : github.com/goccy/go-json.Unmarshaler GetBrowserSamplingProfileParams : github.com/mailru/easyjson.Marshaler *GetBrowserSamplingProfileParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetBrowserSamplingProfileParams : github.com/mailru/easyjson.Unmarshaler GetBrowserSamplingProfileParams : encoding/json.Marshaler *GetBrowserSamplingProfileParams : encoding/json.Unmarshaler func GetBrowserSamplingProfile() *GetBrowserSamplingProfileParams
GetBrowserSamplingProfileReturns return values. Profile *SamplingProfile MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetBrowserSamplingProfileReturns : github.com/goccy/go-json.Marshaler *GetBrowserSamplingProfileReturns : github.com/goccy/go-json.Unmarshaler GetBrowserSamplingProfileReturns : github.com/mailru/easyjson.Marshaler *GetBrowserSamplingProfileReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetBrowserSamplingProfileReturns : github.com/mailru/easyjson.Unmarshaler GetBrowserSamplingProfileReturns : encoding/json.Marshaler *GetBrowserSamplingProfileReturns : encoding/json.Unmarshaler
GetDOMCountersParams [no description]. Do executes Memory.getDOMCounters against the provided context. returns: documents nodes jsEventListeners MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetDOMCountersParams : github.com/goccy/go-json.Marshaler *GetDOMCountersParams : github.com/goccy/go-json.Unmarshaler GetDOMCountersParams : github.com/mailru/easyjson.Marshaler *GetDOMCountersParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetDOMCountersParams : github.com/mailru/easyjson.Unmarshaler GetDOMCountersParams : encoding/json.Marshaler *GetDOMCountersParams : encoding/json.Unmarshaler func GetDOMCounters() *GetDOMCountersParams
GetDOMCountersReturns return values. Documents int64 JsEventListeners int64 Nodes int64 MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetDOMCountersReturns : github.com/goccy/go-json.Marshaler *GetDOMCountersReturns : github.com/goccy/go-json.Unmarshaler GetDOMCountersReturns : github.com/mailru/easyjson.Marshaler *GetDOMCountersReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetDOMCountersReturns : github.com/mailru/easyjson.Unmarshaler GetDOMCountersReturns : encoding/json.Marshaler *GetDOMCountersReturns : encoding/json.Unmarshaler
GetSamplingProfileParams retrieve native memory allocations profile collected since last startSampling call. Do executes Memory.getSamplingProfile against the provided context. returns: profile MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetSamplingProfileParams : github.com/goccy/go-json.Marshaler *GetSamplingProfileParams : github.com/goccy/go-json.Unmarshaler GetSamplingProfileParams : github.com/mailru/easyjson.Marshaler *GetSamplingProfileParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetSamplingProfileParams : github.com/mailru/easyjson.Unmarshaler GetSamplingProfileParams : encoding/json.Marshaler *GetSamplingProfileParams : encoding/json.Unmarshaler func GetSamplingProfile() *GetSamplingProfileParams
GetSamplingProfileReturns return values. Profile *SamplingProfile MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetSamplingProfileReturns : github.com/goccy/go-json.Marshaler *GetSamplingProfileReturns : github.com/goccy/go-json.Unmarshaler GetSamplingProfileReturns : github.com/mailru/easyjson.Marshaler *GetSamplingProfileReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetSamplingProfileReturns : github.com/mailru/easyjson.Unmarshaler GetSamplingProfileReturns : encoding/json.Marshaler *GetSamplingProfileReturns : encoding/json.Unmarshaler
Module executable module information. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#type-Module // Base address where the module is loaded into memory. Encoded as a decimal or hexadecimal (0x prefixed) string. // Name of the module. // Size of the module in bytes. // UUID of the module. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Module : github.com/goccy/go-json.Marshaler *Module : github.com/goccy/go-json.Unmarshaler Module : github.com/mailru/easyjson.Marshaler *Module : github.com/mailru/easyjson.MarshalerUnmarshaler *Module : github.com/mailru/easyjson.Unmarshaler Module : encoding/json.Marshaler *Module : encoding/json.Unmarshaler
PrepareForLeakDetectionParams [no description]. Do executes Memory.prepareForLeakDetection against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.Action *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.CallAction *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.EmulateAction *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.EvaluateAction *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.KeyAction *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.MouseAction *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.NavigateAction *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.PollAction *PrepareForLeakDetectionParams : github.com/chromedp/chromedp.QueryAction PrepareForLeakDetectionParams : github.com/goccy/go-json.Marshaler *PrepareForLeakDetectionParams : github.com/goccy/go-json.Unmarshaler PrepareForLeakDetectionParams : github.com/mailru/easyjson.Marshaler *PrepareForLeakDetectionParams : github.com/mailru/easyjson.MarshalerUnmarshaler *PrepareForLeakDetectionParams : github.com/mailru/easyjson.Unmarshaler PrepareForLeakDetectionParams : encoding/json.Marshaler *PrepareForLeakDetectionParams : encoding/json.Unmarshaler func PrepareForLeakDetection() *PrepareForLeakDetectionParams
PressureLevel memory pressure level. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#type-PressureLevel MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the PressureLevel as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. PressureLevel : github.com/goccy/go-json.Marshaler *PressureLevel : github.com/goccy/go-json.Unmarshaler PressureLevel : github.com/mailru/easyjson.Marshaler *PressureLevel : github.com/mailru/easyjson.MarshalerUnmarshaler *PressureLevel : github.com/mailru/easyjson.Unmarshaler PressureLevel : encoding/json.Marshaler *PressureLevel : encoding/json.Unmarshaler PressureLevel : expvar.Var PressureLevel : fmt.Stringer func SimulatePressureNotification(level PressureLevel) *SimulatePressureNotificationParams const PressureLevelCritical const PressureLevelModerate
SamplingProfile array of heap profile samples. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#type-SamplingProfile Modules []*Module Samples []*SamplingProfileNode MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface SamplingProfile : github.com/goccy/go-json.Marshaler *SamplingProfile : github.com/goccy/go-json.Unmarshaler SamplingProfile : github.com/mailru/easyjson.Marshaler *SamplingProfile : github.com/mailru/easyjson.MarshalerUnmarshaler *SamplingProfile : github.com/mailru/easyjson.Unmarshaler SamplingProfile : encoding/json.Marshaler *SamplingProfile : encoding/json.Unmarshaler func (*GetAllTimeSamplingProfileParams).Do(ctx context.Context) (profile *SamplingProfile, err error) func (*GetBrowserSamplingProfileParams).Do(ctx context.Context) (profile *SamplingProfile, err error) func (*GetSamplingProfileParams).Do(ctx context.Context) (profile *SamplingProfile, err error)
SamplingProfileNode heap profile sample. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#type-SamplingProfileNode // Size of the sampled allocation. // Execution stack at the point of allocation. // Total bytes attributed to this sample. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface SamplingProfileNode : github.com/goccy/go-json.Marshaler *SamplingProfileNode : github.com/goccy/go-json.Unmarshaler SamplingProfileNode : github.com/mailru/easyjson.Marshaler *SamplingProfileNode : github.com/mailru/easyjson.MarshalerUnmarshaler *SamplingProfileNode : github.com/mailru/easyjson.Unmarshaler SamplingProfileNode : encoding/json.Marshaler *SamplingProfileNode : encoding/json.Unmarshaler
SetPressureNotificationsSuppressedParams enable/disable suppressing memory pressure notifications in all processes. // If true, memory pressure notifications will be suppressed. Do executes Memory.setPressureNotificationsSuppressed against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.Action *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.CallAction *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.EmulateAction *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.EvaluateAction *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.KeyAction *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.MouseAction *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.NavigateAction *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.PollAction *SetPressureNotificationsSuppressedParams : github.com/chromedp/chromedp.QueryAction SetPressureNotificationsSuppressedParams : github.com/goccy/go-json.Marshaler *SetPressureNotificationsSuppressedParams : github.com/goccy/go-json.Unmarshaler SetPressureNotificationsSuppressedParams : github.com/mailru/easyjson.Marshaler *SetPressureNotificationsSuppressedParams : github.com/mailru/easyjson.MarshalerUnmarshaler *SetPressureNotificationsSuppressedParams : github.com/mailru/easyjson.Unmarshaler SetPressureNotificationsSuppressedParams : encoding/json.Marshaler *SetPressureNotificationsSuppressedParams : encoding/json.Unmarshaler func SetPressureNotificationsSuppressed(suppressed bool) *SetPressureNotificationsSuppressedParams
SimulatePressureNotificationParams simulate a memory pressure notification in all processes. // Memory pressure level of the notification. Do executes Memory.simulatePressureNotification against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *SimulatePressureNotificationParams : github.com/chromedp/chromedp.Action *SimulatePressureNotificationParams : github.com/chromedp/chromedp.CallAction *SimulatePressureNotificationParams : github.com/chromedp/chromedp.EmulateAction *SimulatePressureNotificationParams : github.com/chromedp/chromedp.EvaluateAction *SimulatePressureNotificationParams : github.com/chromedp/chromedp.KeyAction *SimulatePressureNotificationParams : github.com/chromedp/chromedp.MouseAction *SimulatePressureNotificationParams : github.com/chromedp/chromedp.NavigateAction *SimulatePressureNotificationParams : github.com/chromedp/chromedp.PollAction *SimulatePressureNotificationParams : github.com/chromedp/chromedp.QueryAction SimulatePressureNotificationParams : github.com/goccy/go-json.Marshaler *SimulatePressureNotificationParams : github.com/goccy/go-json.Unmarshaler SimulatePressureNotificationParams : github.com/mailru/easyjson.Marshaler *SimulatePressureNotificationParams : github.com/mailru/easyjson.MarshalerUnmarshaler *SimulatePressureNotificationParams : github.com/mailru/easyjson.Unmarshaler SimulatePressureNotificationParams : encoding/json.Marshaler *SimulatePressureNotificationParams : encoding/json.Unmarshaler func SimulatePressureNotification(level PressureLevel) *SimulatePressureNotificationParams
StartSamplingParams start collecting native memory profile. // Average number of bytes between samples. // Do not randomize intervals between samples. Do executes Memory.startSampling against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface WithSamplingInterval average number of bytes between samples. WithSuppressRandomness do not randomize intervals between samples. *StartSamplingParams : github.com/chromedp/chromedp.Action *StartSamplingParams : github.com/chromedp/chromedp.CallAction *StartSamplingParams : github.com/chromedp/chromedp.EmulateAction *StartSamplingParams : github.com/chromedp/chromedp.EvaluateAction *StartSamplingParams : github.com/chromedp/chromedp.KeyAction *StartSamplingParams : github.com/chromedp/chromedp.MouseAction *StartSamplingParams : github.com/chromedp/chromedp.NavigateAction *StartSamplingParams : github.com/chromedp/chromedp.PollAction *StartSamplingParams : github.com/chromedp/chromedp.QueryAction StartSamplingParams : github.com/goccy/go-json.Marshaler *StartSamplingParams : github.com/goccy/go-json.Unmarshaler StartSamplingParams : github.com/mailru/easyjson.Marshaler *StartSamplingParams : github.com/mailru/easyjson.MarshalerUnmarshaler *StartSamplingParams : github.com/mailru/easyjson.Unmarshaler StartSamplingParams : encoding/json.Marshaler *StartSamplingParams : encoding/json.Unmarshaler func StartSampling() *StartSamplingParams func StartSamplingParams.WithSamplingInterval(samplingInterval int64) *StartSamplingParams func StartSamplingParams.WithSuppressRandomness(suppressRandomness bool) *StartSamplingParams
StopSamplingParams stop collecting native memory profile. Do executes Memory.stopSampling against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *StopSamplingParams : github.com/chromedp/chromedp.Action *StopSamplingParams : github.com/chromedp/chromedp.CallAction *StopSamplingParams : github.com/chromedp/chromedp.EmulateAction *StopSamplingParams : github.com/chromedp/chromedp.EvaluateAction *StopSamplingParams : github.com/chromedp/chromedp.KeyAction *StopSamplingParams : github.com/chromedp/chromedp.MouseAction *StopSamplingParams : github.com/chromedp/chromedp.NavigateAction *StopSamplingParams : github.com/chromedp/chromedp.PollAction *StopSamplingParams : github.com/chromedp/chromedp.QueryAction StopSamplingParams : github.com/goccy/go-json.Marshaler *StopSamplingParams : github.com/goccy/go-json.Unmarshaler StopSamplingParams : github.com/mailru/easyjson.Marshaler *StopSamplingParams : github.com/mailru/easyjson.MarshalerUnmarshaler *StopSamplingParams : github.com/mailru/easyjson.Unmarshaler StopSamplingParams : encoding/json.Marshaler *StopSamplingParams : encoding/json.Unmarshaler func StopSampling() *StopSamplingParams
Package-Level Functions (total 10)
GetAllTimeSamplingProfile retrieve native memory allocations profile collected since renderer process startup. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#method-getAllTimeSamplingProfile
GetBrowserSamplingProfile retrieve native memory allocations profile collected since browser process startup. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#method-getBrowserSamplingProfile
GetSamplingProfile retrieve native memory allocations profile collected since last startSampling call. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#method-getSamplingProfile
SetPressureNotificationsSuppressed enable/disable suppressing memory pressure notifications in all processes. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#method-setPressureNotificationsSuppressed parameters: suppressed - If true, memory pressure notifications will be suppressed.
SimulatePressureNotification simulate a memory pressure notification in all processes. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#method-simulatePressureNotification parameters: level - Memory pressure level of the notification.
StartSampling start collecting native memory profile. See: https://chromedevtools.github.io/devtools-protocol/tot/Memory#method-startSampling parameters:
Package-Level Constants (total 12)
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
PressureLevel values.
PressureLevel values.