发明名称 System for tracing hardware counters utilizing programmed performance monitor to generate trace interrupt after each branch instruction or at the end of each code basic block
摘要 A method and system within a data processing system or information handling system are disclosed for counting various events from a running program (hereafter called a process) by taking a trace by way of using an interruption. According to the present invention, a performance monitor feature within a data processing system is programmed to generate a trace interrupt after each branch instruction, or at the end of each basic block of code from a currently running program or process. By programming monitor mode control registers within the performance monitor feature, one or more counters are programmed to count various events happening on the data processing system thereby creating tracing information. If the current process is a process to be traced, the tracing information is stored in a trace buffer for post-processing analysis, the counters are reset to zero returning back to the process from the interrupt.
申请公布号 US6253338(B1) 申请公布日期 2001.06.26
申请号 US19980224121 申请日期 1998.12.21
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 SMOLDERS LUC RENE
分类号 G06F11/34;(IPC1-7):H02H3/05 主分类号 G06F11/34
代理机构 代理人
主权项
地址