发明名称 Apparatus and method for generating code overlay
摘要 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.
申请公布号 US8984475(B2) 申请公布日期 2015.03.17
申请号 US201113045576 申请日期 2011.03.11
申请人 Samsung Electronics Co., Ltd.;SNU R&DB Foundation 发明人 Ryu Soo-Jung;Jang Choon-Ki;Lee Jaejin;Egger Bernhard;Cho Young-Chul
分类号 G06F9/44;G06F9/45;G06F12/02 主分类号 G06F9/44
代理机构 NSIP Law 代理人 NSIP Law
主权项 1. A computer implemented method of generating a code overlay, the method comprising: generating a static temporal relationship graph (STRG) comprising nodes in which functions of a program are indicated by respective nodes of the STRG, and comprising a conflict miss value that is a maximum number of possible conflict misses between the functions,represented by an edge of the STRG, andchanged in response to allocating the functions to a common region of a memory; and selecting a function from the STRG; calculating an allocation cost for each of regions of the memory based on the selected function; and allocating the selected function to a region comprising a smallest allocation cost among the regions to generate the code overlay, wherein generating the STRG includes: generating a call graph representing a call relationship between the functions of the program;converting the generated call graph to a directed acyclic graph (DAG) by merging functions which are strongly connected components (SCC) and functions invoked by the SCC into one nodes; anddetermining each node of the DAG to be a node of the STRG.
地址 Suwon-si KR
您可能感兴趣的专利