发明申请
US20120254670A1 HARDWARE PERFORMANCE-MONITORING FACILITY USAGE AFTER CONTEXT SWAPS
有权
硬件性能监测设备在上下文使用后使用
- 专利标题: HARDWARE PERFORMANCE-MONITORING FACILITY USAGE AFTER CONTEXT SWAPS
- 专利标题(中): 硬件性能监测设备在上下文使用后使用
-
申请号: US13313557申请日: 2011-12-07
-
公开(公告)号: US20120254670A1公开(公告)日: 2012-10-04
- 发明人: Giles R. Frazier , Brian R. Mestan
- 申请人: Giles R. Frazier , Brian R. Mestan
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F11/00
- IPC分类号: G06F11/00
摘要:
A performance monitoring technique provides task-switch immune operation without requiring storage and retrieval of the performance monitor state when a task switch occurs and provides accurate performance monitoring information. When a hypervisor signals that a task is being resumed and the application privilege level has been entered, 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, a state due to execution of the operating system or hypervisor, 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 branch information in a current program execution trace.
公开/授权文献
信息查询