外观
Collector Foundation 1.0 Beta 能力矩阵 v4
冻结身份与总数
PerformanceModels.swift 当前 Registry 是 52 个静态 metricID。Foundation 冻结为 collector-foundation.1.0-beta,CPython 3.12.3、pymobiledevice3 11.3.1;py-ios-device 2.4.26 仅作 selector/schema 研究源。运行时只有一个 pymobiledevice3 DTX owner。
| 能力层级 | 数量 | 含义 |
|---|---|---|
| 默认实时结构 | 35 | iOS 17/18 真机 Session 均观察到全部 metricID 结构;单点可能因质量规则为 missing |
| 离线逐帧候选 | 13 | CoreProfile → presented-frame → FrameTime/Stat,iOS 16/17/18 来源 E4 |
| 模式限定候选 | 2 | StartupTiming 需要 controlled launch;默认 passive 不虚构起点 |
| Unsupported | 2 | TinyJank、Smooth 无可信定义 |
指标八要素矩阵
| 定义 | metricID | scope | unit | 来源字段 | 质量语义 | 当前校准状态 | 版本历史 |
|---|---|---|---|---|---|---|---|
| 进程与设备 CPU | ios.process.cpu.non_normalized;ios.device.cpu.total;ios.device.cpu.total.normalized;ios.device.cpu.core_usage | process / device | percent | Sysmontap cpuUsage、CPU_TotalLoad、EnabledCPUs、PerCPUUsage | 身份或核数缺失不补 0;normalized 只除显式正数 EnabledCPUs | iOS 16/17/18 E4 candidate;PerfDog 同窗待校准 | CORE-8/16/18 |
| 五类进程内存与可用内存 | ios.process.memory.physical_footprint;resident;xcode_gauge;real;virtual;ios.device.memory.available | process / device | bytes | physFootprint、memResidentSize、memVirtualSize、vmFreeCount×16384 | 仅有限原值;缺字段为 missing;XcodeMemory 是 candidate alias | 三系统 E4 结构;数值对照开放 | CORE-8/16/18 |
| 线程、调度与磁盘 | ios.process.thread.count;scheduler.context_switch_rate;scheduler.interrupt_wakeup_rate;disk.read_rate;disk.write_rate | process | count / count-per-second / bytes-per-second | Sysmontap gauge 与累计 counter | 同 PID+generation 差分;首点 warmup;负差 counter-reset | 三系统默认实时 E4 candidate | CORE-8/18 |
| Network | ios.device.network.send_rate / receive_rate;ios.process.network.send_rate / receive_rate | device / process | bytes-per-second | DVT Networking interval;PID NetworkStatistics delta | Send/Recv 成对选同 scope,不跨 scope 拼接;首点 warmup | 双源三系统 E4 candidate;PerfDog scope 待校准 | CORE-8/16/18 |
| FPS 与 Graphics GPU | ios.foreground.fps;ios.foreground.gpu.renderer_utilization;tiler_utilization;device_utilization | foreground-device | fps / percent | DVT Graphics | 目标不在前台时 value=null、not-foreground;新事实到达后恢复 | 三系统 E4 candidate;非目标进程专属 | CORE-8/13/18 |
| Frame / 流畅度 | ios.frame.time;fps.average;fps.at_least_18_percent;fps.at_least_25_percent;ftime_ge_100_percent;ftime_positive_delta_gt_100_per_hour;drop_per_hour;med_range_percent;one_percent_low_fps;small_jank_per_10min;jank_per_10min;big_jank_per_10min;stutter_percent | foreground-device | ms / fps / percent / count rate | CoreProfile RAW v2 exact presented debugid | decoder/header/timebase 任一失败均 missing;首帧 warmup;不由截图或秒级 FPS 猜逐帧 | iOS 16=21、17=9、18=35 accepted,unknown=0,E4 source candidate | CORE-9/17/18 |
| 未定义流畅度 | ios.frame.tiny_jank_per_10min;ios.frame.smooth | foreground-device | count-per-10-minutes / score | unsupported-definition | 始终 value=null / Unsupported | 未具备 | CORE-9/18 |
| Energy | ios.process.energy.cpu_cost;gpu_cost;network_cost;location_cost;display_cost;overhead | process | source-native-cost | PID Energy debug gauge | 保留源原值和源单位;缺值不补 0,不冒充瓦特 | 三系统 E4 结构;物理标定开放 | CORE-10/18 |
| Battery / Thermal | ios.device.battery.current;voltage;power;temperature_raw;temperature_celsius;thermal.status | device | mA / mV / mW / source-native / °C / enum-raw | Diagnostics IORegistry | power=abs(current)×voltage/1000;temperature=raw/100;Thermal 缺枚举为 missing | 三系统 E4 结构;跨机型标定开放 | CORE-10/16/18 |
| StartupTiming | ios.process.startup.observed_running_ms;ios.process.startup.foreground_ready_ms | process | milliseconds | launch request 与同 generation lifecycle | passive 无起点为 missing;记录轮询误差;不代表 main/首帧 | E2 candidate,真机精确阶段开放 | CORE-11/18 |
29 Stat 与报告
默认实时链保存 raw、Metric Frame、29 项 Stat、Startup 与 Foundation Delivery 哈希。源缺失时报告字段仍存在但 value=null;“字段存在”不等于“采到非零数值”。iOS 17/18 最终打包 Collector 均完成 6 sample、29 Stat、identity verified、drop=0 和有界停止。
对比 PerfDog 仍未具备
- TinyJank、Smooth 的可信定义和计算。
- 目标进程专属逐帧与 GPU 归因;当前是 foreground-device。
- main、首帧等精确启动分阶段。
- 物理功耗单位与稳定 ThermalStatus 枚举源。
- GPU Counter 跨设备 schema 与规模化校准。
- PerfDog 同时间窗数值一致性、长时稳定性与更多机型覆盖。
版本历史
- v4(2026-09-05):修正 Registry 为 52 项;冻结 Foundation 1.0 Beta;加入 iOS 17/18 E4、13 项逐帧 candidate、2 项 Startup 模式限定与 2 项 Unsupported。来源:CORE-18。
- v3(2026-09-05):默认实时链能力矩阵,已被本页取代。