发明授权
US09003417B2 Processor with resource usage counters for per-thread accounting
有权
具有用于每个线程会计的资源使用计数器的处理器
- 专利标题: Processor with resource usage counters for per-thread accounting
- 专利标题(中): 具有用于每个线程会计的资源使用计数器的处理器
-
申请号: US13459398申请日: 2012-04-30
-
公开(公告)号: US09003417B2公开(公告)日: 2015-04-07
- 发明人: William Joseph Armstrong , Michael Stephen Floyd , Ronald Nick Kalla , Larry Scott Leitner , Balaram Sinharoy
- 申请人: William Joseph Armstrong , Michael Stephen Floyd , Ronald Nick Kalla , Larry Scott Leitner , Balaram Sinharoy
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Mitch Harris, Atty at Law, LLC
- 代理商 Andrew M. Harris; Parashos T. Kalaitzis
- 主分类号: G06F9/46
- IPC分类号: G06F9/46 ; G06F12/00 ; G06F9/38 ; G06F9/50 ; G06F11/34
摘要:
Processor time accounting is enhanced by per-thread internal resource usage counter circuits that account for usage of processor core resources to the threads that use them. Relative resource use can be determined by detecting events such as instruction dispatches for multiple threads active within the processor, which may include idle threads that are still occupying processor resources. The values of the resource usage counters are used periodically to determine relative usage of the processor core by the multiple threads. If all of the events are for a single thread during a given period, the processor time is allocated to the single thread. If no events occur in the given period, then the processor time can be equally allocated among threads. If multiple threads are generating events, a fractional resource usage can be determined for each thread and the counters may be updated in accordance with their fractional usage.
公开/授权文献
信息查询