Method and system for recording events of an interrupt using pre-interrupt handler and post-interrupt handler
    31.
    发明授权
    Method and system for recording events of an interrupt using pre-interrupt handler and post-interrupt handler 有权
    使用预中断处理程序和后中断处理程序来记录中断事件的方法和系统

    公开(公告)号:US07197586B2

    公开(公告)日:2007-03-27

    申请号:US10757192

    申请日:2004-01-14

    IPC分类号: G06F13/24

    CPC分类号: G06F13/24

    摘要: A method, apparatus, and computer instructions for providing pre and post handlers to log trace records before entering or after exiting the interrupt handler. A trace record includes a ‘from’ address where the interrupt occurs or where the branch instruction is executed or a ‘to’ address for the branch to case and counts of selected performance monitoring events. A timestamp may be associated with each event. In one embodiment, the pre and post handler is used with trap on branch to log trace records prior to and immediate after taking a branch. In another embodiment, a pre handler is enabled to log trace records that occur prior to executing interrupt service routines. A post handler is enabled to log trace records that occur after the interrupt service routines is executed and prior to returning to normal execution. Resulting low-level performance trace data may be collected by the user at a later time for more structured performance analysis.

    摘要翻译: 一种方法,装置和计算机指令,用于在进入或退出中断处理程序之后提供前处理程序和后处理程序来记录跟踪记录。 跟踪记录包括发生中断的“从”地址或执行分支指令的位置,或者分支的“到”地址到所选择的性能监视事件的大小写和计数。 时间戳可能与每个事件相关联。 在一个实施例中,前处理程序和后处理程序与分支上的陷阱一起使用,以在分支之前和之后记录跟踪记录。 在另一个实施例中,预处理程序能够记录在执行中断服务程序之前发生的跟踪记录。 启用后台处理程序来记录在执行中断服务程序之后并在返回到正常执行之前发生的跟踪记录。 所得到的低级别性能跟踪数据可以由用户以后收集以进行更结构化的性能分析。

    Method and apparatus for autonomic detection of cache “chase tail” conditions and storage of instructions/data in “chase tail” data structure
    32.
    发明授权
    Method and apparatus for autonomic detection of cache “chase tail” conditions and storage of instructions/data in “chase tail” data structure 失效
    用于自动检测缓存“追尾”条件的方法和装置以及“追尾”数据结构中指令/数据的存储

    公开(公告)号:US07181599B2

    公开(公告)日:2007-02-20

    申请号:US10757256

    申请日:2004-01-14

    IPC分类号: G06F11/30

    CPC分类号: G06F12/126

    摘要: A method, apparatus, and computer instructions in a data processing system for processing instructions are provided. Instructions are received at a processor in the system. If a selected indicator is associated with the instruction, counting of each event associated with the execution of the instruction is enabled. The performance indicators and counter values may be used as a mechanism for identifying cache hits and cache misses. Performance counters are incremented each time the instructions of routines of interest are executed and each time the instructions must be reloaded into the cache. From the values of these counters the cache hit-miss ratio may be determined. When the cache hit-miss ratio becomes less than a predetermined threshold, i.e. a greater number of cache misses than cache hits, the present invention may determine that a problem condition has occurred and initiate “chase tail” operations for avoiding overwriting of entries in the cache.

    摘要翻译: 提供了用于处理指令的数据处理系统中的方法,装置和计算机指令。 系统中的处理器接收到指令。 如果所选择的指示符与指令相关联,则启用与执行指令相关联的每个事件的计数。 性能指标和计数器值可以用作识别高速缓存命中和高速缓存未命中的机制。 每次执行关注程序的指令并且每次必须将指令重新加载到高速缓存中时,性能计数器都会递增。 从这些计数器的值可以确定高速缓存命中错失率。 当高速缓存命中错失率变得小于预定阈值时,即比高速缓存命中更高数量的高速缓存未命中时,本发明可以确定已经出现问题状况并启动“追尾”操作,以避免在 缓存。

    Method and apparatus for maintaining performance monitoring structures in a page table for use in monitoring performance of a computer program
    33.
    发明授权
    Method and apparatus for maintaining performance monitoring structures in a page table for use in monitoring performance of a computer program 失效
    用于在页表中维护性能监视结构以用于监视计算机程序的性能的方法和装置

    公开(公告)号:US08191049B2

    公开(公告)日:2012-05-29

    申请号:US12062416

    申请日:2008-04-03

    IPC分类号: G06F9/45

    CPC分类号: G06F11/3636

    摘要: A method and apparatus in a data processing system for measuring events associated with the execution of instructions are provided. Instructions are received at a processor in the data processing system. If a selected indicator is associated with the instruction, counting of each event associated with the execution of the instruction is enabled. In some embodiments, the performance indicators, counters, thresholds, and other performance monitoring structures may be stored in a page table that is used to translate virtual addresses into physical storage addresses. A standard page table is augmented with additional fields for storing the performance monitoring structures. These structures may be set by the performance monitoring application and may be queried and modified as events occur that require access to physical storage.

    摘要翻译: 提供了一种用于测量与执行指令相关的事件的数据处理系统中的方法和装置。 在数据处理系统的处理器处接收指令。 如果所选择的指示符与指令相关联,则启用与执行指令相关联的每个事件的计数。 在一些实施例中,可以将性能指示符,计数器,阈值和其他性能监视结构存储在用于将虚拟地址转换为物理存储地址的页表中。 标准页表增加了用于存储性能监视结构的附加字段。 这些结构可以由性能监视应用程序设置,并且可以在需要访问物理存储的事件发生时进行查询和修改。

    Apparatus and method for creating a trace file for a trace of a computer program based on loaded module information
    34.
    发明授权
    Apparatus and method for creating a trace file for a trace of a computer program based on loaded module information 失效
    基于加载的模块信息创建用于跟踪计算机程序的跟踪文件的装置和方法

    公开(公告)号:US06678883B1

    公开(公告)日:2004-01-13

    申请号:US09612877

    申请日:2000-07-10

    IPC分类号: G06F944

    摘要: An apparatus and method for cataloging symbolic data for use in performance analysis of computer programs is provided. The apparatus and method stores symbolic data for loaded modules during or shortly after a performance trace and utilizes the stored symbolic data when performing a performance analysis at a later time. A merged symbol file is generated for a computer program, or application, under trace. The merged symbol file contains information useful in performing symbolic resolution of address information in trace files for each instance of a module. During post processing of the trace information generated by a performance trace of a computer program, symbolic information stored in the merged symbol file is compared to the trace information stored in the trace file. The correct symbolic information in the merged symbol file for loaded modules is identified based on a number of validating criteria. The correct symbolic information for the loaded modules may then be stored as an indexed database that is used to resolve address information into corresponding symbolic information when providing the trace information to a display for use by a user.

    摘要翻译: 提供了一种用于对符号数据进行编目以用于计算机程序的性能分析的装置和方法。 该装置和方法在性能跟踪期间或不久之后存储加载模块的符号数据,并且在稍后执行性能分析时利用所存储的符号数据。 为跟踪的计算机程序或应用程序生成合并的符号文件。 合并的符号文件包含有助于在模块的每个实例的跟踪文件中执行地址信息的符号解析。 在由计算机程序的性能跟踪产生的跟踪信息的后处理中,将存储在合并的符号文件中的符号信息与存储在跟踪文件中的跟踪信息进行比较。 基于多个验证标准来识别加载模块的合并符号文件中的正确符号信息。 然后可以将加载的模块的正确符号信息存储为索引数据库,该索引数据库用于在向显示器提供跟踪信息以供用户使用时将地址信息解析为对应的符号信息。

    Apparatus and method for cataloging symbolic data for use in performance analysis of computer programs
    35.
    发明授权
    Apparatus and method for cataloging symbolic data for use in performance analysis of computer programs 失效
    用于对符号数据进行编目的装置和方法,用于计算机程序的性能分析

    公开(公告)号:US06988263B1

    公开(公告)日:2006-01-17

    申请号:US09613190

    申请日:2000-07-10

    IPC分类号: G06F9/44

    摘要: An apparatus and method for cataloging symbolic data for use in performance analysis of computer programs is provided. The apparatus and method stores symbolic data for loaded modules during or shortly after a performance trace and utilizes the stored symbolic data when performing a performance analysis at a later time. A merged symbol file is generated for a computer program, or application, under trace. The merged symbol file contains information useful in performing symbolic resolution of address information in trace files for each instance of a module. During post processing of the trace information generated by a performance trace of a computer program, symbolic information stored in the merged symbol file is compared to the trace information stored in the trace file. The correct symbolic information in the merged symbol file for loaded modules is identified based a number of validating criteria. The correct symbolic information for the loaded modules may then be stored as an indexed database that is used to resolve address information into corresponding symbolic information when providing the trace information to a display for use by a user.

    摘要翻译: 提供了一种用于对符号数据进行编目以用于计算机程序的性能分析的装置和方法。 该装置和方法在性能跟踪期间或不久之后存储加载模块的符号数据,并且在稍后执行性能分析时利用所存储的符号数据。 为跟踪的计算机程序或应用程序生成合并的符号文件。 合并的符号文件包含有助于在模块的每个实例的跟踪文件中执行地址信息的符号解析。 在由计算机程序的性能跟踪产生的跟踪信息的后处理中,将存储在合并的符号文件中的符号信息与存储在跟踪文件中的跟踪信息进行比较。 基于多个验证标准来识别加载模块的合并符号文件中的正确符号信息。 然后可以将加载的模块的正确符号信息存储为索引数据库,该索引数据库用于在向显示器提供跟踪信息以供用户使用时将地址信息解析为对应的符号信息。

    Apparatus and method for generating a merged symbol file for verifying symbolic data
    36.
    发明授权
    Apparatus and method for generating a merged symbol file for verifying symbolic data 失效
    用于生成用于验证符号数据的合并符号文件的装置和方法

    公开(公告)号:US06708169B1

    公开(公告)日:2004-03-16

    申请号:US09613095

    申请日:2000-07-10

    IPC分类号: G06F1730

    摘要: An apparatus and method for cataloging symbolic data for use in performance analysis of computer programs is provided. The apparatus and method stores symbolic data for loaded modules during or shortly after a performance trace and utilizes the stored symbolic data when performing a performance analysis at a later time. A merged symbol file is generated for a computer program, or application, under trace. The merged symbol file contains information useful in performing symbolic resolution of address information in trace files for each instance of a module. During post processing of the trace information generated by a performance trace of a computer program, symbolic information stored in the merged symbol file is compared to the trace information stored in the trace file. The correct symbolic information in the merged symbol file for loaded modules is identified based a number of validating criteria. The correct symbolic information for the loaded modules may then be stored as an indexed database that is used to resolve address information into corresponding symbolic information when providing the trace information to a display for use by a user.

    摘要翻译: 提供了一种用于对符号数据进行编目以用于计算机程序的性能分析的装置和方法。 该装置和方法在性能跟踪期间或不久之后存储加载模块的符号数据,并且在稍后执行性能分析时利用所存储的符号数据。 为跟踪的计算机程序或应用程序生成合并的符号文件。 合并的符号文件包含有助于在模块的每个实例的跟踪文件中执行地址信息的符号解析。 在由计算机程序的性能跟踪产生的跟踪信息的后处理中,将存储在合并的符号文件中的符号信息与存储在跟踪文件中的跟踪信息进行比较。 基于多个验证标准来识别加载模块的合并符号文件中的正确符号信息。 然后可以将加载的模块的正确符号信息存储为索引数据库,该索引数据库用于在向显示器提供跟踪信息以供用户使用时将地址信息解析为对应的符号信息。

    Apparatus and method for creating an indexed database of symbolic data for use with trace data of a computer program
    37.
    发明授权
    Apparatus and method for creating an indexed database of symbolic data for use with trace data of a computer program 失效
    用于创建与计算机程序的跟踪数据一起使用的符号数据的索引数据库的装置和方法

    公开(公告)号:US06658416B1

    公开(公告)日:2003-12-02

    申请号:US09613101

    申请日:2000-07-10

    IPC分类号: G06F1730

    摘要: An apparatus and method for cataloging symbolic data for use in performance analysis of computer programs is provided. The apparatus and method stores symbolic data for loaded modules during or shortly after a performance trace and utilizes the stored symbolic data when performing a performance analysis at a later time. A merged symbol file is generated for a computer program, or application, under trace. The merged symbol file contains information useful in performing symbolic resolution of address information in trace files for each instance of a module. During post processing of the trace information generated by a performance trace of a computer program, symbolic information stored in the merged symbol file is compared to the trace information stored in the trace file. The correct symbolic information in the merged symbol file for loaded modules is identified based a number of validating criteria. The correct symbolic information for the loaded modules may then be stored as an indexed database that is used to resolve address information into corresponding symbolic information when providing the trace information to a display for use by a user.

    摘要翻译: 提供了一种用于对符号数据进行编目以用于计算机程序的性能分析的装置和方法。 该装置和方法在性能跟踪期间或不久之后存储加载模块的符号数据,并且在稍后执行性能分析时利用所存储的符号数据。 为跟踪的计算机程序或应用程序生成合并的符号文件。 合并的符号文件包含有助于在模块的每个实例的跟踪文件中执行地址信息的符号解析。 在由计算机程序的性能跟踪产生的跟踪信息的后处理中,将存储在合并的符号文件中的符号信息与存储在跟踪文件中的跟踪信息进行比较。 基于多个验证标准来识别加载模块的合并符号文件中的正确符号信息。 然后可以将加载的模块的正确符号信息存储为索引数据库,该索引数据库用于在向显示器提供跟踪信息以供用户使用时将地址信息解析为对应的符号信息。

    Method and apparatus for maintaining performance monitoring structures in a page table for use in monitoring performance of a computer program
    38.
    发明授权
    Method and apparatus for maintaining performance monitoring structures in a page table for use in monitoring performance of a computer program 失效
    用于在页表中维护性能监视结构以用于监视计算机程序的性能的方法和装置

    公开(公告)号:US07526757B2

    公开(公告)日:2009-04-28

    申请号:US10757250

    申请日:2004-01-14

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3636

    摘要: A method and apparatus in a data processing system for measuring events associated with the execution of instructions are provided. Instructions are received at a processor in the data processing system. If a selected indicator is associated with the instruction, counting of each event associated with the execution of the instruction is enabled. In some embodiments, the performance indicators, counters, thresholds, and other performance monitoring structures may be stored in a page table that is used to translate virtual addresses into physical storage addresses. A standard page table is augmented with additional fields for storing the performance monitoring structures. These structures may be set by the performance monitoring application and may be queried and modified as events occur that require access to physical storage.

    摘要翻译: 提供了一种用于测量与执行指令相关的事件的数据处理系统中的方法和装置。 在数据处理系统的处理器处接收指令。 如果所选择的指示符与指令相关联,则启用与执行指令相关联的每个事件的计数。 在一些实施例中,可以将性能指示符,计数器,阈值和其他性能监视结构存储在用于将虚拟地址转换为物理存储地址的页表中。 标准页表增加了用于存储性能监视结构的附加字段。 这些结构可以由性能监视应用程序设置,并且可以在需要访问物理存储的事件发生时进行查询和修改。

    Method and Apparatus for Maintaining Performance Monitoring Structures in a Page Table for Use in Monitoring Performance of a Computer Program
    39.
    发明申请
    Method and Apparatus for Maintaining Performance Monitoring Structures in a Page Table for Use in Monitoring Performance of a Computer Program 失效
    用于监视计算机程序性能的页表中的性能监视结构的方法和装置

    公开(公告)号:US20080189687A1

    公开(公告)日:2008-08-07

    申请号:US12062416

    申请日:2008-04-03

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3636

    摘要: A method and apparatus in a data processing system for measuring events associated with the execution of instructions are provided. Instructions are received at a processor in the data processing system. If a selected indicator is associated with the instruction, counting of each event associated with the execution of the instruction is enabled. In some embodiments, the performance indicators, counters, thresholds, and other performance monitoring structures may be stored in a page table that is used to translate virtual addresses into physical storage addresses. A standard page table is augmented with additional fields for storing the performance monitoring structures. These structures may be set by the performance monitoring application and may be queried and modified as events occur that require access to physical storage.

    摘要翻译: 提供了一种用于测量与执行指令相关的事件的数据处理系统中的方法和装置。 在数据处理系统的处理器处接收指令。 如果所选择的指示符与指令相关联,则启用与执行指令相关联的每个事件的计数。 在一些实施例中,可以将性能指示符,计数器,阈值和其他性能监视结构存储在用于将虚拟地址转换为物理存储地址的页表中。 标准页表增加了用于存储性能监视结构的附加字段。 这些结构可以由性能监视应用程序设置,并且可以在需要访问物理存储的事件发生时进行查询和修改。

    Apparatus and method for performing symbolic resolution of modules using static representations of a trace
    40.
    发明授权
    Apparatus and method for performing symbolic resolution of modules using static representations of a trace 失效
    使用迹线的静态表示执行模块的符号分辨的装置和方法

    公开(公告)号:US06766511B1

    公开(公告)日:2004-07-20

    申请号:US09613194

    申请日:2000-07-10

    IPC分类号: G06F944

    摘要: An apparatus and method for cataloging symbolic data for use in performance analysis of computer programs is provided. The apparatus and method stores symbolic data for loaded modules during or shortly after a performance trace and utilizes the stored symbolic data when performing a performance analysis at a later time. A merged symbol file is generated for a computer program, or application, under trace. The merged symbol file contains information useful in performing symbolic resolution of address information in trace files for each instance of a module. During post processing of the trace information generated by a performance trace of a computer program, symbolic information stored in the merged symbol file is compared to the trace information stored in the trace file. The correct symbolic information in the merged symbol file for loaded modules is identified based a number of validating criteria. The correct symbolic information for the loaded modules may then be stored as an indexed database that is used to resolve address information into corresponding symbolic information when providing the trace information to a display for use by a user.

    摘要翻译: 提供了一种用于对符号数据进行编目以用于计算机程序的性能分析的装置和方法。 该装置和方法在性能跟踪期间或不久之后存储加载模块的符号数据,并且在稍后执行性能分析时利用所存储的符号数据。 为跟踪的计算机程序或应用程序生成合并的符号文件。 合并的符号文件包含有助于在模块的每个实例的跟踪文件中执行地址信息的符号解析。 在由计算机程序的性能跟踪产生的跟踪信息的后处理中,将存储在合并的符号文件中的符号信息与存储在跟踪文件中的跟踪信息进行比较。 基于多个验证标准来识别加载模块的合并符号文件中的正确符号信息。 然后可以将加载的模块的正确符号信息存储为索引数据库,该索引数据库用于在向显示器提供跟踪信息以供用户使用时将地址信息解析为对应的符号信息。