摘要:
The present invention provides a method and system of creating at least one functional equivalent code segment of at least one original code segment of a computer software program with a lower energy footprint, configured to operate on at least one computer system. In an exemplary embodiment, the method and system include (1) creating at least one alternative code segment of the original code segment using at least one re-coding rule, (2) calculating a required energy consumption of the original code segment, (3) finding a required energy consumption of the alternative code segment, (4) comparing the required energy consumption of the original code segment with the required energy consumption of the alternative code segment, and (5) returning the functional equivalent code segment corresponding to the code segment with the minimum required energy consumption with respect to the results of the comparing.
展开