memory

package
v0.0.0-...-4fec7a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2017 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Overview

(experimental)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*rpc.Client
}

(experimental)

func (*Client) GetDOMCounters

func (d *Client) GetDOMCounters() *GetDOMCountersRequest

func (*Client) SetPressureNotificationsSuppressed

func (d *Client) SetPressureNotificationsSuppressed() *SetPressureNotificationsSuppressedRequest

Enable/disable suppressing memory pressure notifications in all processes.

func (*Client) SimulatePressureNotification

func (d *Client) SimulatePressureNotification() *SimulatePressureNotificationRequest

Simulate a memory pressure notification in all processes.

type GetDOMCountersRequest

type GetDOMCountersRequest struct {
	// contains filtered or unexported fields
}

func (*GetDOMCountersRequest) Do

type GetDOMCountersResult

type GetDOMCountersResult struct {
	Documents int `json:"documents"`

	Nodes int `json:"nodes"`

	JsEventListeners int `json:"jsEventListeners"`
}

type PressureLevel

type PressureLevel string

type SetPressureNotificationsSuppressedRequest

type SetPressureNotificationsSuppressedRequest struct {
	// contains filtered or unexported fields
}

func (*SetPressureNotificationsSuppressedRequest) Do

func (*SetPressureNotificationsSuppressedRequest) Suppressed

If true, memory pressure notifications will be suppressed.

type SimulatePressureNotificationRequest

type SimulatePressureNotificationRequest struct {
	// contains filtered or unexported fields
}

func (*SimulatePressureNotificationRequest) Do

func (*SimulatePressureNotificationRequest) Level

Memory pressure level of the notification.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL