Skip to content

GPU Schema 与 Lifecycle 质量语义 v2

指标八要素

要素内容
定义当目标 App 确认在前台时,对前台设备 Graphics gauge 的 FPS 和 Device/Renderer/Tiler utilization 进行归因
metricIDios.foreground.fpsios.foreground.gpu.device_utilizationios.foreground.gpu.renderer_utilizationios.foreground.gpu.tiler_utilization
scopeforeground-device;不表示目标进程专属 GPU
unitFPS 为 frames-per-second;GPU 为 percent(数值校准仍为 candidate)
来源字段CoreAnimationFramesPerSecondDevice Utilization %Renderer Utilization %Tiler Utilization %
质量语义前台且有限值为 candidate;后台为 not-foreground + value=null;未知 schema 为 unsupported-schema;缺值不写 0
当前校准状态iOS 16 raw schema E4;CORE-13 实时前后台门禁 E2,真机后台 fail-closed E4;前台 UI 录证和同场数值对照待完成
版本历史v2:增加实时归因、前后台过渡和缓存失效规则

实时归因规则

  1. 身份监控以 Bundle ID → PID → process list 三步校验目标,同时更新 foreground/background。
  2. 目标进入后台时,FPS 和三项 GPU 立即设为 missing,quality=not-foreground
  3. 目标返回前台时,不复用后台前最后一个 Graphics gauge;必须等待新 Graphics 事实。
  4. PID/generation 变化时清空全部实时 gauge/counter 状态,不做跨进程差分。
  5. Lifecycle 依旧是候选事件;轮询观察值不直接冒充精确 Startup Duration。

版本历史

版本日期变更
v22026-09-05默认 Core 实时链实施后,冻结 not-foreground 与前台恢复等新值规则
v12026-09-04GPU schema 和被动 Lifecycle 候选,已被本页取代

来源:CORE-13 开发与验收

Perfowl · Performance Observer