Energy Consumption Fuzzy Estimation for Object-Oriented Code

The energy consumption (EC) estimation of a computing system is a primitive approach for evaluating its energy efficiency and for further optimization. Existing studies adopt the runtime-dependent approach to measure the EC of software; however, in this paper, the source-level and fuzzy estimation a...

Full description

Bibliographic Details
Main Authors: Hui Liu, Fusheng Yan, Jingqing Jiang, Jie Song
Format: Article
Language:English
Published: IEEE 2018-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/8502122/
_version_ 1818414992682123264
author Hui Liu
Fusheng Yan
Jingqing Jiang
Jie Song
author_facet Hui Liu
Fusheng Yan
Jingqing Jiang
Jie Song
author_sort Hui Liu
collection DOAJ
description The energy consumption (EC) estimation of a computing system is a primitive approach for evaluating its energy efficiency and for further optimization. Existing studies adopt the runtime-dependent approach to measure the EC of software; however, in this paper, the source-level and fuzzy estimation approach are employed to measure the EC of software code, especially object-oriented code, before it is executed. This approach is beneficial to source code quality improvement and EC static optimization. For runtime independence, a fuzzy energy consumption (FEC) model is proposed, in which the code and the EC model, as well as the mappings between them, are first defined; then, the process for estimating the FEC of an arbitrary statement is described, including the statement features, data preparation, fuzzy comprehensive evaluation, and fuzzy pattern matching. Finally, experiments are performed, including the regularities verification, the statement features analysis, the EC and FEC comparison, and the FEC application. The experimental results show that the mean values of EC/FEC for the selected test cases are stable, their standard deviation is approximately 0.00064, and their mean is approximately 0.0059. By FEC, it is feasible to compare the ECs of code statically with reasonable accuracy.
first_indexed 2024-12-14T11:27:55Z
format Article
id doaj.art-6d1132815fb44ed289f2c6d5e25ef15e
institution Directory Open Access Journal
issn 2169-3536
language English
last_indexed 2024-12-14T11:27:55Z
publishDate 2018-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj.art-6d1132815fb44ed289f2c6d5e25ef15e2022-12-21T23:03:27ZengIEEEIEEE Access2169-35362018-01-016626646267410.1109/ACCESS.2018.28770828502122Energy Consumption Fuzzy Estimation for Object-Oriented CodeHui Liu0Fusheng Yan1Jingqing Jiang2Jie Song3https://orcid.org/0000-0003-0704-3217School of Metallurgy, Northeastern University, Shenyang, ChinaSchool of Metallurgy, Northeastern University, Shenyang, ChinaCollege of Computer Science and Technology, Inner Mongolia University for the Nationalities, Tongliao, ChinaSoftware College, Northeastern University, Shenyang, ChinaThe energy consumption (EC) estimation of a computing system is a primitive approach for evaluating its energy efficiency and for further optimization. Existing studies adopt the runtime-dependent approach to measure the EC of software; however, in this paper, the source-level and fuzzy estimation approach are employed to measure the EC of software code, especially object-oriented code, before it is executed. This approach is beneficial to source code quality improvement and EC static optimization. For runtime independence, a fuzzy energy consumption (FEC) model is proposed, in which the code and the EC model, as well as the mappings between them, are first defined; then, the process for estimating the FEC of an arbitrary statement is described, including the statement features, data preparation, fuzzy comprehensive evaluation, and fuzzy pattern matching. Finally, experiments are performed, including the regularities verification, the statement features analysis, the EC and FEC comparison, and the FEC application. The experimental results show that the mean values of EC/FEC for the selected test cases are stable, their standard deviation is approximately 0.00064, and their mean is approximately 0.0059. By FEC, it is feasible to compare the ECs of code statically with reasonable accuracy.https://ieeexplore.ieee.org/document/8502122/Fuzzy modelenergy estimationfuzzy energy consumptionobject-oriented code
spellingShingle Hui Liu
Fusheng Yan
Jingqing Jiang
Jie Song
Energy Consumption Fuzzy Estimation for Object-Oriented Code
IEEE Access
Fuzzy model
energy estimation
fuzzy energy consumption
object-oriented code
title Energy Consumption Fuzzy Estimation for Object-Oriented Code
title_full Energy Consumption Fuzzy Estimation for Object-Oriented Code
title_fullStr Energy Consumption Fuzzy Estimation for Object-Oriented Code
title_full_unstemmed Energy Consumption Fuzzy Estimation for Object-Oriented Code
title_short Energy Consumption Fuzzy Estimation for Object-Oriented Code
title_sort energy consumption fuzzy estimation for object oriented code
topic Fuzzy model
energy estimation
fuzzy energy consumption
object-oriented code
url https://ieeexplore.ieee.org/document/8502122/
work_keys_str_mv AT huiliu energyconsumptionfuzzyestimationforobjectorientedcode
AT fushengyan energyconsumptionfuzzyestimationforobjectorientedcode
AT jingqingjiang energyconsumptionfuzzyestimationforobjectorientedcode
AT jiesong energyconsumptionfuzzyestimationforobjectorientedcode