当前位置: 首页 > 文档资料 > Electron 中文文档 >

ProcessMetric 对象

优质
小牛编辑
130浏览
2023-12-01
  • pid Integer - 进程ID
  • type String - Process type. One of the following values:

    • Browser
    • Tab
    • Utility
    • Zygote
    • Sandbox helper
    • GPU
    • Pepper Plugin
    • Pepper Plugin Broker
    • Unknown
  • cpu CPUUsage - CPU使用率

ProcessMetric Object

  • pid Integer - Process id of the process.
  • type String - Process type. One of the following values:

    • Browser
    • Tab
    • Utility
    • Zygote
    • Sandbox helper
    • GPU
    • Pepper Plugin
    • Pepper Plugin Broker
    • Unknown
  • cpu CPUUsage - CPU usage of the process.