EnergyAnalyzer:使用静态WCET分析技术估算嵌入式应用的能耗
EnergyAnalyzer: Using Static WCET Analysis Techniques to Estimate the Energy Consumption of Embedded Applications
AI总结:
本文提出EnergyAnalyzer,一种基于静态WCET分析技术和定制能耗模型的代码级嵌入式软件能耗估算工具,在ARM Cortex-M0和Gaisler LEON3架构上验证,估算结果与经验模型差异不到1%。
摘要:
本文提出了EnergyAnalyzer,这是一种基于静态可预测硬件事件来估算嵌入式软件能耗的代码级静态分析工具。该工具利用通常用于最坏情况执行时间(WCET)分析的技术,以及为两种可预测架构(ARM Cortex-M0和Gaisler LEON3)开发的定制能耗模型,来执行能耗分析。EnergyAnalyzer已应用于多种用例,例如为优化的卷积神经网络选择候选方案、分析胶囊内窥镜原型的能耗,以及分析卫星通信软件的能耗。该工具是名为TeamPlay的大型项目的一部分,该项目旨在提供一个用于开发嵌入式应用程序的工具链,其中能耗属性是一等公民,允许开发者在源代码层面直接反映这些属性。EnergyAnalyzer的分析能力在两种目标架构的大量基准测试中得到了验证,结果表明,除了少数例外,静态估算的能耗与已在真实硬件上验证的底层经验能耗模型相比,差异不到1%。
英文摘要:
This paper presents EnergyAnalyzer, a code-level static analysis tool for estimating the energy consumption of embedded software based on statically predictable hardware events. The tool utilises techniques usually used for worst-case execution time (WCET) analysis together with bespoke energy models developed for two predictable architectures - the ARM Cortex-M0 and the Gaisler LEON3 - to perform energy usage analysis. EnergyAnalyzer has been applied in various use cases, such as selecting candidates for an optimised convolutional neural network, analysing the energy consumption of a camera pill prototype, and analysing the energy consumption of satellite communications software. The tool was developed as part of a larger project called TeamPlay, which aimed to provide a toolchain for developing embedded applications where energy properties are first-class citizens, allowing the developer to reflect directly on these properties at the source code level. The analysis capabilities of EnergyAnalyzer are validated across a large number of benchmarks for the two target architectures and the results show that the statically estimated energy consumption has, with a few exceptions, less than 1% difference compared to the underlying empirical energy models which have been validated on real hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。