Skip to content

系统可用内存、TotalCPU 与设备状态指标 v2

AvailableMemory

要素内容
定义当前时刻 Sysmontap 报告的 free VM pages 对应字节数
metricIDios.device.memory.available
scopedevice
unitbytes
来源字段SystemAttributes/System.vmFreeCount + VMPageSizeBytes
质量语义page count/page size 缺失、负数或非有限值为 missing;真实 0 保留
当前校准状态iOS 15+ arm64 16 KiB 页候选;iOS 16 raw 重放待本批验收
版本历史vm-free-pages-arm64-16k.candidate.v1

公式:

text
availableMemoryBytes = vmFreeCount × 16,384

这里的“Available”是 free pages 候选口径,不把 inactive/purgeable pages 自动相加。它与操作系统“可回收内存”或竞品同名字段不自动等价。

TotalCPU raw 与 normalized

要素内容
定义raw 为 DVT 多核总负载;normalized 为除以当前 EnabledCPUs 后的设备总体百分比
metricIDios.device.cpu.total / ios.device.cpu.total.normalized
scopedevice
unitpercent
来源字段SystemCPUUsage.CPU_TotalLoad / EnabledCPUs
质量语义raw 有限值才保存;enabled count 必须为正数;否则 normalized missing,不拿 raw 顶替
当前校准状态iOS 16 candidate;与 PerfDog 同窗校准 paused
版本历史raw=system-gauge.v1;normalized=raw-dvt-divided-by-enabled-cpu-count.candidate.v2

公式:

text
totalCPUNormalizedPercent = totalCPURawPercent / EnabledCPUs

工作台 TotalCPU 展示 normalized;Session/导出同时保留 raw、normalized、CPUCount、EnabledCPUs 与公式版本。

Battery Temperature

要素内容
定义电池 IORegistry 温度的摄氏度投影
metricIDios.device.battery.temperature_raw / ios.device.battery.temperature_celsius
scopedevice
unitsource-native / degree-celsius
来源字段Diagnostics Temperature
质量语义raw 保真;仅 0~8,000 centi-°C 可转换,域外 Celsius missing
当前校准状态iOS 16 raw 值形态候选;跨 iOS 17/18 待 E4
版本历史raw=battery-temperature-raw.v1;Celsius=centi-celsius-to-celsius.candidate.v1
text
batteryTemperatureCelsius = Temperature / 100

不在计算层取整。

ThermalStatus

要素内容
定义设备热压力状态
metricIDios.device.thermal.status
scopedevice
unitenum-raw
来源字段稳定设备状态源 ThermalStatus
质量语义只接受 0/1/2/3,对应 nominal/fair/serious/critical;缺字段或域外为 missing
当前校准状态当前 Diagnostics E4 未观察到该字段,保持 missing
版本历史thermal-status-enum.candidate.v2

Energy gauge 的 energy.thermalstate.cost 是进程能耗成本字段,不是设备 ThermalStatus,禁止互相替代。

Energy

要素内容
定义CPU/GPU/Network/Location/Display/Overhead 六类进程 Energy debug gauge cost
metricIDios.process.energy.* 六项
scopeprocess
unitsource-native-cost
来源字段energy.*.cost
质量语义目标身份 verified 且有限原值才输出;缺失不补 0
当前校准状态raw 可读;物理单位未证明
版本历史energy-cost-gauge.candidate.v1

当前不把 cost 转成 W/mW,也不相加冒充总物理能耗。

版本历史

  • v2(2026-09-05):冻结 AvailableMemory、TotalCPU normalized、Battery Celsius、Thermal fail-closed 与 Energy 物理边界;来源:CORE-16
  • v1(2026-09-05):Energy/Battery/Thermal raw 候选,已被本页取代。

Perfowl · Performance Observer