发明申请
US20100037233A1 Processor core with per-thread resource usage accounting logic
有权
处理器核心,具有每线程资源使用计费逻辑
- 专利标题: Processor core with per-thread resource usage accounting logic
- 专利标题(中): 处理器核心,具有每线程资源使用计费逻辑
-
申请号: US12579540申请日: 2009-10-15
-
公开(公告)号: US20100037233A1公开(公告)日: 2010-02-11
- 发明人: 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
- 主分类号: G06F9/46
- IPC分类号: G06F9/46
摘要:
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.
公开/授权文献
信息查询