Skip to content

Commit beb996b

Browse files
miniakalexeykuzmin
authored andcommitted
docs: specify possible values for ProcessMetric.type (electron#19203)
1 parent 9a42ddd commit beb996b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/api/structures/process-metric.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# ProcessMetric Object
22

33
* `pid` Integer - Process id of the process.
4-
* `type` String - Process type (Browser or Tab or GPU etc).
4+
* `type` String - Process type. One of the following values:
5+
* `Browser`
6+
* `Tab`
7+
* `Utility`
8+
* `Zygote`
9+
* `Sandbox helper`
10+
* `GPU`
11+
* `Pepper Plugin`
12+
* `Pepper Plugin Broker`
13+
* `Unknown`
514
* `cpu` [CPUUsage](cpu-usage.md) - CPU usage of the process.
615
* `creationTime` Number - Creation time for this process.
716
The time is represented as number of milliseconds since epoch.

0 commit comments

Comments
 (0)