Method and apparatus for flexible, accurate, and/or efficient code profiling
    15.
    发明授权
    Method and apparatus for flexible, accurate, and/or efficient code profiling 有权
    用于灵活,准确和/或有效的代码分析的方法和装置

    公开(公告)号:US08898646B2

    公开(公告)日:2014-11-25

    申请号:US12976799

    申请日:2010-12-22

    IPC分类号: G06F9/44 G06F9/45 G06F11/34

    摘要: An apparatus and method for profiling program code. In particular, an apparatus according to one embodiment comprises a filtering component identifying a first set of instructions for which profiling is desired wherein, in response to detecting that an instruction has been retired, the filtering component determines whether the instruction is within the first set of instructions for which profiling is desired; an event selection component detecting an event in response to the instruction retiring, the event selection component generating event signals in response to a designated event; and a profiling component recording the occurrence or not occurrence of the event within a first storage device responsive to signals from the filtering component and/or the event selection component.

    摘要翻译: 用于分析程序代码的设备和方法。 具体地,根据一个实施例的装置包括识别期望进行分析的第一组指令的过滤部件,其中响应于检测到指令已经停止,滤波部件确定该指令是否在第一组中 需要进行分析的说明; 事件选择部件响应于所述指令重新检测事件,所述事件选择部件响应于指定的事件产生事件信号; 以及响应于来自过滤组件和/或事件选择组件的信号,在第一存储设备内记录事件的发生或不发生的分析组件。

    METHOD AND APPARATUS FOR FLEXIBLE, ACCURATE, AND/OR EFFICIENT CODE PROFILING
    16.
    发明申请
    METHOD AND APPARATUS FOR FLEXIBLE, ACCURATE, AND/OR EFFICIENT CODE PROFILING 有权
    灵活,精确和/或有效的代码分析的方法和装置

    公开(公告)号:US20120167058A1

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

    申请号:US12976799

    申请日:2010-12-22

    IPC分类号: G06F9/44

    摘要: An apparatus and method for profiling program code. In particular, an apparatus according to one embodiment comprises a filtering component identifying a first set of instructions for which profiling is desired wherein, in response to detecting that an instruction has been retired, the filtering component determines whether the instruction is within the first set of instructions for which profiling is desired; an event selection component detecting an event in response to the instruction retiring, the event selection component generating event signals in response to a designated event; and a profiling component recording the occurrence or not occurrence of the event within a first storage device responsive to signals from the filtering component and/or the event selection component.

    摘要翻译: 用于分析程序代码的设备和方法。 具体地,根据一个实施例的装置包括识别期望进行分析的第一组指令的过滤部件,其中响应于检测到指令已经停止,滤波部件确定该指令是否在第一组中 需要进行分析的说明; 事件选择部件响应于所述指令重新检测事件,所述事件选择部件响应于指定的事件产生事件信号; 以及响应于来自过滤组件和/或事件选择组件的信号,在第一存储设备内记录事件的发生或不发生的分析组件。

    ACHIEVING COHERENCE BETWEEN DYNAMICALLY OPTIMIZED CODE AND ORIGINAL CODE
    17.
    发明申请
    ACHIEVING COHERENCE BETWEEN DYNAMICALLY OPTIMIZED CODE AND ORIGINAL CODE 有权
    实现动态优化代码与原始代码之间的一致性

    公开(公告)号:US20090150335A1

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

    申请号:US11951614

    申请日:2007-12-06

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F12/1027 G06F12/0875

    摘要: An apparatus comprising a first search logic to search for a first entry for a first page containing a first code region in a first data structure to determine whether a first indicator in the first entry is set to a first value; an adder logic to add the first entry to the first data structure, in response to failing to find the first entry in the first data structure; a second search logic to search for a second entry for the first code region in a second data structure, in response to determining that the first indicator is set to the first value, wherein one or more optimized code regions corresponding to the first page from a code cache are to be removed in response to determining that the first page may have been modified, and wherein the first indicator is to be set to a second value.

    摘要翻译: 一种装置,包括:第一搜索逻辑,用于搜索包含第一数据结构中的第一代码区域的第一页面的第一条目,以确定第一条目中的第一指示符是否被设置为第一值; 响应于未能找到第一数据结构中的第一条目而将第一条目添加到第一数据结构的加法器逻辑; 响应于确定所述第一指示符被设置为所述第一值,搜索第二数据结构中的所述第一代码区域的第二条目的第二搜索逻辑,其中对应于来自第一值的第一页的一个或多个优化代码区域 响应于确定第一页面可能被修改而要删除代码高速缓存,并且其中第一指示符将被设置为第二值。

    PATH PROFILING USING HARDWARE AND SOFTWARE COMBINATION
    20.
    发明申请
    PATH PROFILING USING HARDWARE AND SOFTWARE COMBINATION 审中-公开
    使用硬件和软件组合的路径分布

    公开(公告)号:US20140281434A1

    公开(公告)日:2014-09-18

    申请号:US13994193

    申请日:2013-03-15

    IPC分类号: G06F9/30

    CPC分类号: G06F9/30076 G06F8/443

    摘要: A mechanism for generating a path profile is disclosed. A profiling module may insert profiling instructions into instruction blocks. The profiling instructions may generate a path identifier as a processor executes an execution path executes a sequence or path of instruction blocks). A path identifier module may add path identifiers to path identifier data, such as a table, and may track the number of times an execution path associated with the path identifier is executed. The profiling module may periodically copy and/or modify the path identifier data and may generate a path profile based on the path identifier data

    摘要翻译: 公开了一种用于产生路径轮廓的机构。 分析模块可以将分析指令插入到指令块中。 当处理器执行执行路径执行指令块的序列或路径时,分析指令可以生成路径标识符)。 路径标识符模块可以将诸如表的路径标识符数据的路径标识符添加,并且可以跟踪执行与路径标识符相关联的执行路径的次数。 分析模块可以周期性地复制和/或修改路径标识符数据,并且可以基于路径标识符数据生成路径简档