Skip to main content

ProcessMetric Object

  • pid Integer - Process id of the process.进程的进程id。
  • type string - Process type. 流程类型。One of the following values:以下值之一:
    • Browser
    • Tab
    • Utility
    • Zygote
    • Sandbox helper
    • GPU
    • Pepper Plugin
    • Pepper Plugin Broker
    • Unknown
  • serviceName string (optional) - The non-localized name of the process.进程的非本地化名称。
  • name string (optional) - The name of the process. 进程的名称。Examples for utility: Audio Service, Content Decryption Module Service, Network Service, Video Capture, etc.实用程序示例:Audio ServiceContent Decryption Module ServiceNetwork ServiceVideo Capture等等。
  • cpu CPUUsage - CPU usage of the process.进程的CPU使用情况。
  • creationTime number - Creation time for this process. 此过程的创建时间。The time is represented as number of milliseconds since epoch. 时间表示为自epoch以来的毫秒数。Since the pid can be reused after a process dies, it is useful to use both the pid and the creationTime to uniquely identify a process.由于pid可以在进程死后重用,因此使用pidcreationTime来唯一标识进程是很有用的。
  • memory MemoryInfo - Memory information for the process.进程的内存信息。
  • sandboxed boolean (optional) macOS Windows - Whether the process is sandboxed on OS level.进程是否在操作系统级别上被沙盒化。
  • integrityLevel string (optional) Windows - One of the following values:以下值之一:
    • untrusted
    • low
    • medium
    • high
    • unknown