发明授权
US08015566B2 Attributing energy consumption to individual code threads in a data processing system
有权
将能量消耗归因于数据处理系统中的各个代码线程
- 专利标题: Attributing energy consumption to individual code threads in a data processing system
- 专利标题(中): 将能量消耗归因于数据处理系统中的各个代码线程
-
申请号: US11034558申请日: 2005-01-13
-
公开(公告)号: US08015566B2公开(公告)日: 2011-09-06
- 发明人: Charles R. Lefurgy , Malcolm Scott Ware
- 申请人: Charles R. Lefurgy , Malcolm Scott Ware
- 申请人地址: SG Singapore
- 专利权人: Lenovo (Singapore) Pte. Ltd.
- 当前专利权人: Lenovo (Singapore) Pte. Ltd.
- 当前专利权人地址: SG Singapore
- 代理机构: Lieberman & Brandsdorfer, LLC
- 主分类号: G06F9/46
- IPC分类号: G06F9/46
摘要:
A data processing system attributes energy consumption to individual program segments or threads includes a processor that executes a first thread during a first portion of a measurement interval and a second thread during a second portion of the interval. An energy monitor measures the total energy during the interval. Energy attribution code attributes a first amount of the total energy to the first thread and a second amount to the second thread based in part on the execution times of the threads. The code may define a range of possible energy values by determining maximum and minimum energy constraints for the threads. The invention may also be extended to a multiprocessor environment and to a simultaneous multithreading (SMT) processor. In addition, the process may be expanded to determine energy consumed by various peripheral units such as hard disk controllers and the like.