发明申请
- 专利标题: Breakpoint timers
- 专利标题(中): 断点计时器
-
申请号: US11071090申请日: 2005-03-03
-
公开(公告)号: US20060200807A1公开(公告)日: 2006-09-07
- 发明人: Cary Bates , Paul Day , Brian Muras , John Santosuosso
- 申请人: Cary Bates , Paul Day , Brian Muras , John Santosuosso
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A method, apparatus, system, and signal-bearing medium that, in an embodiment, start a timer in response to a program encountering a first breakpoint and halt the program at a second breakpoint if the timer exceeds a condition. If the timer does not exceed the condition, the program is resumed. In various embodiments, the condition may be a value retrieved from the program based on a keyword and may further include a threshold. In another embodiment, after the timer exceeds the condition an interrupt is raised and in response the program counter for the program is changed to be a specified statement. In an embodiment, a loop entry breakpoint is set at a loop entry statement in the program, a loop body breakpoint is set at a loop body statement in the program, and a loop exit breakpoint is set at a loop exit statement in the program. A timer is then started for an iteration period in response to the program encountering the loop entry breakpoint. The timer is reset to the iteration period in response to the program encountering the loop body breakpoint. The timer is canceled in response to the program encountering the loop exit breakpoint.
信息查询