1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.
//! The `HeapProfiler` domain.
//!
//! Method names for the `HeapProfiler` domain, for use with
//! [`CdpClient::call`](crate::CdpClient::call).
//!
//! This domain is experimental and may change without notice.
/// Enables console to refer to the node with given id via $x (see Command
/// Line API for more details $x functions).
///
/// Parameters:
/// - `heapObjectId`: HeapSnapshotObjectId
pub const ADD_INSPECTED_HEAP_OBJECT: &str = "HeapProfiler.addInspectedHeapObject";
/// `HeapProfiler.collectGarbage`
pub const COLLECT_GARBAGE: &str = "HeapProfiler.collectGarbage";
/// `HeapProfiler.disable`
pub const DISABLE: &str = "HeapProfiler.disable";
/// `HeapProfiler.enable`
pub const ENABLE: &str = "HeapProfiler.enable";
/// `HeapProfiler.getHeapObjectId`
///
/// Parameters:
/// - `objectId`: Runtime.RemoteObjectId
///
/// Returns: `heapSnapshotObjectId`
pub const GET_HEAP_OBJECT_ID: &str = "HeapProfiler.getHeapObjectId";
/// `HeapProfiler.getObjectByHeapObjectId`
///
/// Parameters:
/// - `objectId`: HeapSnapshotObjectId
/// - `objectGroup`: string (optional)
///
/// Returns: `result`
pub const GET_OBJECT_BY_HEAP_OBJECT_ID: &str = "HeapProfiler.getObjectByHeapObjectId";
/// `HeapProfiler.getSamplingProfile`
///
/// Returns: `profile`
pub const GET_SAMPLING_PROFILE: &str = "HeapProfiler.getSamplingProfile";
/// `HeapProfiler.startSampling`
///
/// Parameters:
/// - `samplingInterval`: number (optional)
/// - `stackDepth`: number (optional)
/// - `includeObjectsCollectedByMajorGC`: boolean (optional)
/// - `includeObjectsCollectedByMinorGC`: boolean (optional)
pub const START_SAMPLING: &str = "HeapProfiler.startSampling";
/// `HeapProfiler.startTrackingHeapObjects`
///
/// Parameters:
/// - `trackAllocations`: boolean (optional)
pub const START_TRACKING_HEAP_OBJECTS: &str = "HeapProfiler.startTrackingHeapObjects";
/// `HeapProfiler.stopSampling`
///
/// Returns: `profile`
pub const STOP_SAMPLING: &str = "HeapProfiler.stopSampling";
/// `HeapProfiler.stopTrackingHeapObjects`
///
/// Parameters:
/// - `reportProgress`: boolean (optional)
/// - `treatGlobalObjectsAsRoots`: boolean (optional)
/// - `captureNumericValue`: boolean (optional)
/// - `exposeInternals`: boolean (optional)
pub const STOP_TRACKING_HEAP_OBJECTS: &str = "HeapProfiler.stopTrackingHeapObjects";
/// `HeapProfiler.takeHeapSnapshot`
///
/// Parameters:
/// - `reportProgress`: boolean (optional)
/// - `treatGlobalObjectsAsRoots`: boolean (optional)
/// - `captureNumericValue`: boolean (optional)
/// - `exposeInternals`: boolean (optional)
pub const TAKE_HEAP_SNAPSHOT: &str = "HeapProfiler.takeHeapSnapshot";