Claims
- 1. A computer-implemented method of providing a visualization of power usage of a computer program, comprising the steps of:determining power usage per processor cycle; displaying a section of computer code corresponding to each said cycle; and displaying power usage per cycle in terms of a change in power usage from cycle to cycle as a graph, such that each section of code is displayed with a corresponding graphical measure of power usage.
- 2. The method of claim 1, wherein said displaying steps are performed such that said computer code and said graph appear in a window of a windows-type display.
- 3. The method of claim 1, wherein said computer code is assembly code.
- 4. The method of claim 3, wherein said computer code is a packet of assembly code per cycle.
- 5. The method of claim 1, wherein said displaying steps are performed during a computer-implemented debugging process.
- 6. The method of claim 1, wherein said determining step is performed by receiving value representing transistor switching activity.
- 7. A computer-implemented method of providing a visualization of power usage of a computer program, comprising the steps of:determining power usage per processor cycle; determining whether said power usage exceeds a predetermined threshold value; displaying a section of computer code corresponding to each said cycle; and if said section of computer code uses power exceeding said threshold, determining whether that section of computer code could be modified to reduced said power usage and if so displaying a comment representing the modification.
- 8. The method of claim 7, wherein said computer code is assembly code.
- 9. The method of claim 8, wherein said computer code is a packet of assembly code per cycle.
- 10. The method of claim 7, wherein said displaying steps are performed during a computer-implemented debugging process.
- 11. A computer-implemented method of providing a visualization of power usage of a computer program, comprising the steps of:determining power usage per processor cycle; determining whether said power usage exceeds a predetermined threshold value; displaying a section of computer code corresponding to each said cycle; and if said section of computer code uses power exceeding said threshold, displaying that section in a manner that distinguishes that section from sections of code not exceeding said threshold.
- 12. The method of claim 11, wherein said displaying steps are performed such that said computer code and said graph appear in a window of a windows-type display.
- 13. The method of claim 11, wherein said computer code is assembly code.
- 14. The method of claim 13, wherein said computer code is a packet of assembly code per cycle.
- 15. The method of claim 11, wherein said displaying steps are performed during a computer-implemented debugging process.
- 16. The method of claim 1, wherein said graph is a bar graph having a bar extending in a first direction from a central line if power usage of a current section of code is greater than power usage of a prior section of code and having a bar extending in a second direction opposite from said first direction from a central line if power usage of a current section of code is less than power usage of a prior section of code.
- 17. The method of claim 7, wherein said step of displaying a comment representing the modification include displaying a comment to reorder instructions within an instruction word to align functional units.
- 18. The method of claim 7, wherein said step of displaying a comment representing the modification include displaying a comment to reassign functional units.
- 19. The method of claim 7, wherein said step of displaying a comment representing the modification include displaying a comment to reassign conditional registers.
- 20. The method of claim 7, wherein said step of displaying a comment representing the modification include displaying a comment to reorder and reassign operands.
- 21. The method of claim 7, wherein said step of displaying a comment representing the modification include displaying a comment to rearrange no operation instructions.
- 22. The method of claim 7, wherein said step of displaying a comment representing the modification include displaying a comment to replace no operation instructions with dummy instructions.
- 23. The method of claim 7, wherein said step of displaying a comment representing the modification include displaying a comment to rearrange program memory address locations of instruction words.
- 24. The method of claim 11, wherein said step of displaying that section in a manner that distinguishes that section from sections of code not exceeding said threshold includes displaying sections of code having power usage that exceeds said predetermined threshold value in a different color than sections of code having power usage that does not exceed said predetermined threshold value.
- 25. The method of claim 11, further including the step of user-defining said predetermined threshold value.
Parent Case Info
This application claims priority under 35 USC §119(e)(1) of Provisional Application No. 60/115,500, filed Jan. 11, 1999.
US Referenced Citations (3)
| Number |
Name |
Date |
Kind |
|
5557557 |
Frantz et al. |
Sep 1996 |
A |
|
5941991 |
Kageshima |
Aug 1999 |
A |
|
6338025 |
Bowen et al. |
Jan 2002 |
B1 |
Non-Patent Literature Citations (2)
| Entry |
| A. Parikh et al., VLIW Scheduling for Energy and Performance, IEEE, Date 2001, p. 111 to 117.* |
| M. Toburen and T. Conte, Instruction Scheduling for Low Power Dissipation in High Performnace Microprocessors, The Power Driven Micro-architecture Workshop, Barcelona, Spain, Jun. 1998. |
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/115500 |
Jan 1999 |
US |