Apparatus and method for generating code overlay
    2.
    发明授权
    Apparatus and method for generating code overlay 有权
    用于生成代码叠加的装置和方法

    公开(公告)号:US08984475B2

    公开(公告)日:2015-03-17

    申请号:US13045576

    申请日:2011-03-11

    IPC分类号: G06F9/44 G06F9/45 G06F12/02

    CPC分类号: G06F12/0223

    摘要: Provided is an apparatus and method for generating code overlay capable of minimizing the number of memory copies. A static temporal relationship graph (STRG) is generated in which each of functions of a program corresponds to a node of the STRG and a conflict miss value corresponds to an edge of the STRG. The conflict miss value is the maximum number of possible conflict misses between functions. Overlay is generated by selecting at least one function from the STRG, calculating an allocation cost for each region of a memory to be given when the at least one selected function is allocated, and allocating the at least one selected function to a region that has the smallest allocation cost.

    摘要翻译: 提供了一种用于生成能够最小化存储器拷贝数量的代码覆盖的装置和方法。 生成静态时间关系图(STRG),其中程序的每个功能对应于STRG的节点,而冲突的未命中值对应于STRG的边。 冲突错值是功能之间可能的冲突错过的最大数量。 通过从STRG中选择至少一个功能来产生覆盖,当分配至少一个所选择的功能时,计算要给予的存储器的每个区域的分配成本,并且将至少一个所选择的功能分配给具有 分配成本最小