一句话:提出平台无关的FAMLEM能耗计量系统,以3.5 kHz频率、最大1%误差将能耗追踪到代码区域。
现代软件系统能耗不断增长,开发者需要精确的能耗评估工具来理解、调试和优化代码;然而现有工具受限于低采样率或平台约束。本文提出 FAMLEM(FAst ModuLar Energy Meter),一个平台无关的能耗计量系统。它集成硬件探针、性能剖析与分析脚本,将特定硬件设备的能耗追踪到源代码区域。作者介绍了 FAMLEM 的结构与组件,并说明如何实现 3.5 kHz 的测量频率与最大 1% 的误差。FAMLEM 的架构与代码已作为开源软件发布。
The growing energy demands of modern software systems calls for precise energy-assessment tools to enable developers understanding, debugging, and optimizing their code. Yet, existing tools are constrained by low sampling rates or platform restrictions. We present FAMLEM (FAst ModuLar Energy Meter), a platform-independent system that integrates hardware probes, performance profiling, and analysis scripts to trace energy consumption of specific hardware devices to source code regions. We explain FAMLEM's structure and components, as well as how we reach a measurement frequency of 3.5 kHz with a 1 % maximum error. We release FAMLEM's architecture and code as open-source software.