首页> 外国专利> Method of, system for, and computer program product for providing efficient utilization of memory hierarchy through code restructuring

Method of, system for, and computer program product for providing efficient utilization of memory hierarchy through code restructuring

机译:通过代码重构提供内存层次结构有效利用的方法,系统和计算机程序产品

摘要

Code restructuring or reordering based on profiling information and memory hierarchy is provided by constructing a Program Execution Graph (PEG) corresponding to a level of the memory hierarchy, partitioning this PEG to reduce estimated memory overhead costs below an upper bound, and constructing a PEG for a next level of the memory hierarchy from the partitioned PEG. The PEG is constructed from control flow and frequency information from a profile of the program to be restructured. The PEG is a weighted undirected graph comprising nodes representing basic blocks and edges representing transfer of control between pairs of basic blocks. The weight of a node is the size of the basic block it represents and the weight of an edge is the frequency of transition between the pair of basic blocs it connects.
机译:通过构造与内存层次结构级别相对应的程序执行图(PEG),对这个PEG进行分区以将估计的内存开销成本降低到上限以下,并构造用于以下目的的PEG,可以提供基于配置文件信息和内存层次结构的代码重组或重新排序:分区PEG的下一级内存层次结构。 PEG是根据要重组的程序的配置文件中的控制流和频率信息构建的。 PEG是加权无向图,包括代表基本块的节点和代表基本块对之间的控制转移的边。节点的权重是它表示的基本块的大小,边缘的权重是它连接的一对基本块之间的过渡频率。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号