Method and system for autonomic execution path selection in an application
    1.
    发明授权
    Method and system for autonomic execution path selection in an application 有权
    应用程序中自主执行路径选择的方法和系统

    公开(公告)号:US08381037B2

    公开(公告)日:2013-02-19

    申请号:US10682385

    申请日:2003-10-09

    IPC分类号: G06F11/00

    摘要: A method, an apparatus, and a computer program product in a data processing system are presented for using hardware assistance for gathering performance information that significantly reduces the overhead in gathering such information. Performance indicators are associated with instructions or memory locations, and processing of the performance indicators enables counting of events associated with execution of those instructions or events associated with accesses to those memory locations. The performance information that has been dynamically gathered from the assisting hardware is available to the software application during runtime in order to autonomically affect the behavior of the software application, particularly to enhance its performance. For example, the counted events may be used to autonomically control an execution-path selection within the software application.

    摘要翻译: 提出了一种数据处理系统中的方法,装置和计算机程序产品,用于使用硬件辅助来收集性能信息,这显着地减少了收集这些信息的开销。 性能指标与指令或存储器位置相关联,并且性能指示符的处理使得能够对与执行与那些存储器位置的访问相关联的那些指令或事件相关联的事件进行计数。 在运行期间,从辅助硬件动态收集的性能信息可用于软件应用程序,以便自主地影响软件应用程序的行为,特别是增强其性能。 例如,计数的事件可以用于自主地控制软件应用程序内的执行路径选择。

    Removal of asynchronous events in complex application performance analysis
    2.
    发明授权
    Removal of asynchronous events in complex application performance analysis 失效
    在复杂的应用程序性能分析中删除异步事件

    公开(公告)号:US08266595B2

    公开(公告)日:2012-09-11

    申请号:US10777909

    申请日:2004-02-12

    IPC分类号: G06F9/44

    CPC分类号: G06F8/443

    摘要: A method and apparatus for identifying a minimum call tree data structure from a plurality of call tree data structures are provided. With the apparatus and method, call tree data structures are generated for two or more executions of a build of a computer program. The apparatus and method perform a “tree-minimization” operation in which the two or more call trees generated during runs of the computer program are walked and only those nodes that are present in each of the tree data structures are maintained in a minimized tree data structure. In addition, the minimum values for these common nodes are maintained in the minimized tree data structure. In this way, asynchronous events are removed from the minimum tree data structure and analysis may focus on those areas of the computer program that are consistent between runs of the computer program.

    摘要翻译: 提供了一种用于从多个呼叫树数据结构中识别最小呼叫树数据结构的方法和装置。 利用该装置和方法,生成用于构建计算机程序的两个或多个执行的调用树数据结构。 该装置和方法执行“树最小化”操作,其中在计算机程序运行期间生成的两个或更多个调用树被移动,并且仅存在于每个树数据结构中的那些节点保持在最小化的树数据中 结构体。 此外,这些公共节点的最小值保持在最小化的树数据结构中。 以这种方式,从最小树数据结构中去除异步事件,并且分析可以集中在计算机程序的运行之间一致的计算机程序的那些区域。

    Autonomic Method and Apparatus for Hardware Assist for Patching Code
    3.
    发明申请
    Autonomic Method and Apparatus for Hardware Assist for Patching Code 失效
    用于修补代码的硬件辅助自动方法和装置

    公开(公告)号:US20120151465A1

    公开(公告)日:2012-06-14

    申请号:US13347876

    申请日:2012-01-11

    IPC分类号: G06F9/44

    摘要: Hardware assist to autonomically patch code. The present invention provides hardware microcode to a new type of metadata to selectively identify instructions to be patched for specific performance optimization functions. The present invention also provides a new flag in the machine status register (MSR) to enable or disable a performance monitoring application or process to perform code-patching functions. If the code patching function is enabled, the application or process may patch code at run time by associating the metadata with the selected instructions. The metadata includes pointers pointing to the patch code block code. The program code may be patched autonomically without modifying original code.

    摘要翻译: 硬件辅助自动修补代码。 本发明向新类型的元数据提供硬件微代码,以选择性地识别要修补的特定性能优化功能的指令。 本发明还提供了机器状态寄存器(MSR)中的新标志,以启用或禁用性能监视应用程序或进程来执行代码补丁功能。 如果启用代码补丁功能,应用程序或进程可以通过将元数据与所选指令相关联来在运行时修补代码。 元数据包括指向补丁代码块代码的指针。 程序代码可以自动修补而不修改原始代码。

    Method and apparatus for prefetching data from a data structure
    8.
    发明授权
    Method and apparatus for prefetching data from a data structure 失效
    从数据结构预取数据的方法和装置

    公开(公告)号:US07620777B2

    公开(公告)日:2009-11-17

    申请号:US12431389

    申请日:2009-04-28

    IPC分类号: G06F12/00

    摘要: A method, apparatus, and computer instructions for providing hardware assistance to prefetch data during execution of code by a process or in the data processing system. In response to loading of an instruction in the code into a cache, a determination is made, by the processor unit, as to whether metadata for a prefetch is present for the instruction. In response to metadata being present for the instruction, selectively prefetching data, from within a data structure using the metadata, into the cache in a processor.

    摘要翻译: 一种用于在由处理或数据处理系统执行代码期间提供硬件辅助以预取数据的方法,装置和计算机指令。 响应于将代码中的指令加载到高速缓存中,由处理器单元确定是否存在用于指令的预取的元数据。 响应于针对该指令存在的元数据,使用元数据从数据结构内选择性地将数据预取到处理器中的高速缓存中。

    Method and apparatus for autonomic test case feedback using hardware assistance for code coverage
    9.
    发明授权
    Method and apparatus for autonomic test case feedback using hardware assistance for code coverage 失效
    用于代码覆盖的硬件辅助的自主测试用例反馈的方法和装置

    公开(公告)号:US07480899B2

    公开(公告)日:2009-01-20

    申请号:US10808716

    申请日:2004-03-22

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3676

    摘要: A method, apparatus, and computer instructions for presenting coverage data for code. The coverage data containing instruction access indicators associated with the code is obtained. Particular instruction access indicators that have been set by a processor in the data processing system in response to execution of the code by the processor are identified to form set instruction access indicators. Each set instruction access indicator is associated with a portion of the code. A presentation for the coverage data is generated. The set instruction access indicators are identified in the presentation. This presentation may be, for example, a graphical presentation.

    摘要翻译: 一种用于呈现代码的覆盖数据的方法,装置和计算机指令。 获得包含与代码相关联的指令访问指示符的覆盖数据。 识别由数据处理系统中的处理器响应于处理器执行代码而设置的特定指令访问指示符,以形成设置指令访问指示符。 每个设置的指令访问指示符与代码的一部分相关联。 生成覆盖数据的演示文稿。 演示文稿中指定了设置的指令访问指示符。 该呈现可以是例如图形呈现。

    Method and system for determining memory usage of a heap
    10.
    发明授权
    Method and system for determining memory usage of a heap 失效
    确定堆内存使用情况的方法和系统

    公开(公告)号:US07444484B2

    公开(公告)日:2008-10-28

    申请号:US10875929

    申请日:2004-06-24

    IPC分类号: G06F13/00 G06F12/00

    摘要: A method and system for determining the memory utilization of a heap are provided. With the method and system, object allocations and optionally, possible memory freeing events are used to initiate a mark-and-count operation. The mark-and-count operation marks the live objects and maintains a running count of their memory bytes allocated to the live objects, referred to as a live count. The execution of the mark-and-count operation may be dependent upon various criteria including thresholds, functions of the live count, peak live counts, number of memory bytes allocated since a previous mark-and-count operation was performed, and the like. In addition to the live count, a total number of bytes allocated to objects may be maintained in order to obtain information regarding the heap memory utilization.

    摘要翻译: 提供了一种用于确定堆的存储器利用率的方法和系统。 使用方法和系统,可以使用对象分配和可选的可能的内存释放事件来启动标记和计数操作。 标记和计数操作标记活动对象并维护分配给活动对象的内存字节的运行计数,称为活动计数。 标记和计数操作的执行可以取决于包括阈值,活动计数的功能,峰值活动计数,执行先前的标记和计数操作之后分配的存储器字节的数量等各种标准。 除了实际计数之外,可以维护分配给对象的总字节数,以便获得关于堆存储器利用的信息。