You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 93c9eba
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: runtime/vm/service/service_extension.md
+32-7Lines changed: 32 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This section describes _version 1.1_ of the dart:io service protocol extensions.
15
15
### getVersion
16
16
17
17
```
18
-
Version getVersion()
18
+
Version getVersion(string isolateId)
19
19
```
20
20
21
21
The _getVersion_ RPC returns the available version of the dart:io service protocol extensions.
@@ -25,7 +25,7 @@ See [Version](#version).
25
25
### startSocketProfiling
26
26
27
27
```
28
-
Success startSocketProfiling()
28
+
Success startSocketProfiling(string isolateId)
29
29
```
30
30
31
31
Start profiling new socket connections. Statistics for sockets created before profiling was enabled will not be recorded.
@@ -35,7 +35,7 @@ See [Success](#success).
35
35
### pauseSocketProfiling
36
36
37
37
```
38
-
Success pauseSocketProfiling()
38
+
Success pauseSocketProfiling(string isolateId)
39
39
```
40
40
41
41
Pause recording socket statistics. [clearSocketProfile](#clearsocketprofile) must be called in order for collected statistics to be cleared.
@@ -45,7 +45,7 @@ See [Success](#success).
45
45
### clearSocketProfile
46
46
47
47
```
48
-
Success clearSocketProfile()
48
+
Success clearSocketProfile(string isolateId)
49
49
```
50
50
51
51
Removes all statistics associated with prior and current sockets.
@@ -55,12 +55,37 @@ See [Success](#success).
55
55
### getSocketProfile
56
56
57
57
```
58
-
SocketProfile getSocketProfile()
58
+
SocketProfile getSocketProfile(string isolateId)
59
59
```
60
60
61
61
The _getSocketProfile_ RPC is used to retrieve socket statistics collected by
62
62
the socket profiler. Only samples collected after the initial [startSocketProfiling](#startsocketprofiling) or the last call to [clearSocketProfile](#clearsocketprofile) will be reported.
0 commit comments