PrETi:利用 LLVM 和机器学习在早期阶段预测执行时间
PrETi: Predicting Execution Time in Early Stage with LLVM and Machine Learning
AI总结:
本文提出 preti 框架,通过 LLVM 仿真提取指令、缓存和分支预测等运行时信息并结合历史数据训练机器学习模型,在公开基准上将早期执行时间预测的平均 APE 降至 11.98%。
摘要:
我们提出 preti,这是一种在开发早期阶段预测软件执行时间的新颖框架。preti 利用基于 LLVM 的仿真环境提取与时序相关的运行时信息,例如已执行 LLVM IR 指令的数量。该信息与历史执行时间数据相结合,用于训练机器学习模型以进行准确的时间预测。为进一步提高预测精度,我们的方法还纳入了缓存访问和分支预测仿真。在公开基准测试上的评估表明,preti 取得了 11.98% 的平均绝对百分比误差(APE),优于最先进方法。这些结果凸显了 preti 作为早期时序分析稳健解决方案的有效性和效率。
英文摘要:
We introduce preti, a novel framework for predicting software execution time during the early stages of development. preti leverages an LLVM-based simulation environment to extract timing-related runtime information, such as the count of executed LLVM IR instructions. This information, combined with historical execution time data, is utilized to train machine learning models for accurate time prediction. To further enhance prediction accuracy, our approach incorporates simulations of cache accesses and branch prediction. The evaluations on public benchmarks demonstrate that preti achieves an average Absolute Percentage Error (APE) of 11.98\%, surpassing state-of-the-art methods. These results underscore the effectiveness and efficiency of preti as a robust solution for early-stage timing analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。