PrETi: Predicting Execution Time in Early Stage with LLVM and Machine Learning
Xu, Risheng, Sieweck, Philipp, von Hasseln, Hermann, Nowotka, Dirk
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Mar-17-2025
- Country:
- Asia > Taiwan
- Taiwan Province > Taipei (0.04)
- Europe > Germany
- Schleswig-Holstein > Kiel (0.04)
- North America > United States
- New York > New York County > New York City (0.04)
- Asia > Taiwan
- Genre:
- Research Report
- New Finding (0.48)
- Promising Solution (0.34)
- Research Report
- Technology: