ProcessMetric 物件
pid
整數 - 程序的程序 ID。type
字串 - 程序類型。下列其中一個值瀏覽器
分頁
工具程式
Zygote
沙盒助手
GPU
Pepper 外掛程式
Pepper 外掛程式代理
未知
serviceName
字串 (選用) - 程序的非本地化名稱。name
字串 (選用) - 程序的名稱。工具程式的範例:Audio Service
、Content Decryption Module Service
、Network Service
、Video Capture
等。cpu
CPUUsage - 程序的 CPU 使用率。creationTime
數字 - 此程序的建立時間。時間表示為自 epoch 以來的毫秒數。由於pid
在程序終止後可以重複使用,因此使用pid
和creationTime
來唯一識別程序很有用。memory
MemoryInfo - 程序的記憶體資訊。sandboxed
布林值 (選用) macOS Windows - 程序是否在作業系統層級進行沙盒化。integrityLevel
字串 (選用) Windows - 下列其中一個值不受信任
低
中
高
未知