← MonitorHarmony: implementing on-device performance monitoring for phones

This article has no English version yet; the original Chinese text follows. Chart labels are in Chinese as well.

配图与采样配置

本包保留两张真实界面截图。截图对应的原始会话 JSON 没有随包发布,所以这里不提供频率、功耗或 FPS 时序。

chart-data.json 的 kind 是 implementation-configuration,记录本文解释的采样目标、显示间隔和窗口规则,用于制作结构图;runtimeSeries 为 null。

GFXBench 场景截图展示浮窗与目标画面共存;浮窗里的帧率是 SP_daemon 的采样值,与引擎调试文字的统计窗口不同。历史图中的 71 样本与约 7 秒来自界面标签。

采集链路配图

../charts/sampling-flow.png 和同名 SVG 是实现关系图,对应 chart-data.json 的采样与显示配置。