Techniques for Providing Environmental Impact Information Associated With Code
AssigneeInternational Buisness Machines Corporation
InventorsRick A. Hamilton II, James R. Kozloski, Brian M. O'Connell, Clifford A. Pickover, Keith R. Walker
Life of this patent
Estimating the term…
Abstract
A technique for providing environmental impact information associated with code includes determining, based on execution of the code on a computer system, an environmental impact of a code execution sequence included in the code. A section of the code that is associated with the code execution sequence is then annotated with environmental impact information associated with the environmental impact of the code execution sequence.
Claims20
A method for providing environmental impact information associated with code, comprising:
- determining, based on execution of code on a computer system, an environmental impact of a code execution sequence included in the code;
- and
- annotating a section of the code that is associated with the code execution sequence with environmental impact information associated with the environmental impact of the code execution sequence.
A method for providing environmental impact information associated with code, comprising:
- measuring power utilization for multiple computer systems, each having a different operating system or hardware platform, that is attributable to execution of a code execution sequence included in the code;
- transmitting the power utilization and correlation information to an analysis and correlation module;
- correlating the power utilization with the code execution sequence based on the correlation information;
- and
- annotating a section of the code that is associated with the code execution sequence with environmental impact information associated with the environmental impact of the code execution sequence for the multiple computer systems.
A computer system, comprising:
- a memory subsystem configured to store code;
- and
- a processor coupled to the memory subsystem, wherein the processor is configured to:
- determine, based on execution of a code execution sequence included in the code, an environmental impact of the code execution sequence;
- and
- annotate a section of the code that is associated with the code execution sequence with environmental impact information associated with the environmental impact of the code execution sequence.
Dependencies are inferred from the claim text.