Assessing of the Impact of Source Code Different Sections on the Computing System Power Consumption
Abstract
The hypothesis about the possibility of assessing the impact of the program source code on the computing system power consumption is tested in the work. The authors proposed an algorithm for assessing the program code energy efficiency based on the studied optimization methods. The software tool prototype as an extension for Visual Studio Code implementing the presented algorithm was developed. Experimental results on the study of various ways to improve the program code energy efficiency, as well as the results of testing the developed algorithm operability are presented.
About the Authors
E. A. KiselevRussian Federation
D. A. Chubarov
Russian Federation
A. V. Baranov
Russian Federation
References
1. Юрченко А. В. Проектирование и анализ программного обеспечения с низким энергопотреблением с помощью программных метрик энергоэффективности // Машиностроение и компьютерные технологии. 2013. №1. С. 215-234.
2. da Silva, W.G.; Brisolara, L.; Corrêa, U.B.; Carro, L. Evaluation of the impact of code refactoring on embedded software efficiency. In Proceedings of the 1st Workshop de Sistemas Embarcados, Gramado, Brazil, 24–28 May 2010; pp. 145–150.
3. Gottschalk M., Jelschen J., Winter A. Energy-efficient code by refactoring. Softwaretechnik-Trends 2013, 33, 23–24.
4. Sahin, C.; Pollock, L.; Clause, J. How do code refactorings affect energy usage? In Proceedings of the 8th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, Torino, Italy, 18–19 September 2014; pp. 1–10.
5. Park, J.J.; Hong, J.E.; Lee, S.H. Investigation for Software Power Consumption of Code Refactoring. In Proceedings of the Twenty Sixth International Conference on Software Engineering and Knowledge Engineering (SEKE), Vancouver, BC, Canada, 1–3 July 2014; pp. 717–722.
6. Hayri Acar, Gülfem I Alptekin, Jean-Patrick Gelas, Parisa Ghodous. The Impact of Source Code in Software on Power Consumption // International Journal of Electronic Business Management, Vol. 14, pp. 42-52 (2016).
7. T. Johann, M. Dick, S. Naumann, and E. Kern, “How to measure energy-efficiency of software: Metrics and measurement results” in Green and Sustainable Software (GREENS), 2012 First International Workshop on, 2012, pp. 51–54.
8. A. Noureddine, A. Bourdon, R. Rouvoy, and L. Seinturier, “A preliminary study of the impact of software engineering on GreenIT,” in Green and Sustainable Software (GREENS), 2012 First International Workshop on, 2012, pp. 21–27.
9. Y. D. Liu, “Energy-efficient synchronization through program patterns,” in Green and Sustainable Software (GREENS), 2012 First International Workshop on, 2012, pp. 35–40.
10. Hayri Acar, Gülfem I Alptekin, Jean-Patrick Gelas, Parisa Ghodous. The Impact of Source Code in Software on Power Consumption // International Journal of Electronic Business Management. 2016. №14. С. 42-52.
11. İbrahim Şanlıalp, Muhammed Maruf Öztürk, Tuncay Yiğit. Energy Efficiency Analysis of Code Refactoring Techniques for Green and Sustainable Software in Portable Devices // Electronics. 2022. №11. С. 442-459.
12. Visual Studio Code Getting Started [электронный ресурс] // Microsoft URL: https://code.visualstudio.com/docs/ (дата обращения 26.10.2024)
13. Github. The RAPL Stopwatch library [электронный ресурс] // https://github.com/LorienLV/rapl_stopwatch?ysclid=m2qc5vo4zz264735644 (дата обращения 26.10.2024).
Review
For citations:
Kiselev E.A., Chubarov D.A., Baranov A.V. Assessing of the Impact of Source Code Different Sections on the Computing System Power Consumption. SRISA Proceedings. 2024;14(4):67-74. (In Russ.)