发明授权
- 专利标题: Task switch immunized performance monitoring
- 专利标题(中): 任务开关免疫性能监测
-
申请号: US13079189申请日: 2011-04-04
-
公开(公告)号: US08868886B2公开(公告)日: 2014-10-21
- 发明人: Giles R. Frazier , David S. Levitan , Brian R. Mestan
- 申请人: Giles R. Frazier , David S. Levitan , Brian R. Mestan
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Mitch Harris, Atty at Law, LLC
- 代理商 Andrew M. Harris; Matthew W. Baca
- 主分类号: G06F11/34
- IPC分类号: G06F11/34
摘要:
A performance monitoring technique provides task-switch immune operation without requiring storage and retrieval of the performance monitor state when a task switch occurs. When a hypervisor signals that a task is being resumed, it provides an indication, which starts a delay timer. The delay timer is resettable in case a predetermined time period has not elapsed when the next task switch occurs. After the delay timer expires, analysis of the performance monitor measurements is resumed, which prevents an initial state or a state remaining from a previous task from corrupting the performance monitoring results. The performance monitor may be or include an execution trace unit that collects taken branches in a current trace and may use branch prediction success to determine whether to collect a predicted and taken branch instruction in a current trace or to start a new segment when the branch resolves in a non-predicted direction.
公开/授权文献
- US20120254837A1 TASK SWITCH IMMUNIZED PERFORMANCE MONITORING 公开/授权日:2012-10-04
信息查询