发明名称 Method, apparatus and computer program product for implementing breakpoint based performance measurement
摘要 A method, apparatus and computer program product are provided for implementing breakpoint based performance measurement. A set of hardware counters is defined for counting user specified hardware events. The hardware counters are programmable for counting predefined processor events and the predefined processor events include processor cycles. A start breakpoint instruction and a stop breakpoint instruction are inserted in hardware instructions. The hardware instructions are executed and processing of the hardware instructions is suspended responsive to executing the start breakpoint instruction. Responsive to executing the start breakpoint instruction, interrupt handler instructions are entered and breakpoint instructions are called. The breakpoint instructions generating a return from interrupt instruction to start the defined set of hardware counters and to return processing from the interrupt handler instructions to the hardware instructions. Then executing the hardware instructions is suspended responsive to executing the end breakpoint instruction to stop the defined set of hardware counters.
申请公布号 US2005010908(A1) 申请公布日期 2005.01.13
申请号 US20030616525 申请日期 2003.07.10
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 FUNK MARK ROBERT;DENNEY MICHAEL JAMES
分类号 G06F9/44;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址