【24h】

Developing a method for detecting serial and parallel components in programs

机译:开发一种检测程序中串行和并行组件的方法

获取原文
获取原文并翻译 | 示例

摘要

In this paper, we propose a system that guides programmers to find serial and parallel components in programs. The system takes C and Java codes those may contain serial and parallel components as inputs and detects serial and parallel components in the programs. Our system first identifies the function blocks by parsing the programs based on regular expression pattern matching. Then the developed system constructs dependency graph. In dependency graphs, blocks are treated as nodes and edges are the interaction between nodes. In this paper, we consider four kinds of dependencies such as flow dependency, ante dependency, output dependency and control dependency. From the dependency graph we compute topological order to find the serial parallel execution sequence of the functions or blocks. We perform several experiments and found that our system can detect serial and parallel components from the programs efficiently.
机译:在本文中,我们提出了一个系统,该系统指导程序员在程序中查找串行和并行组件。系统采用可能包含串行和并行组件作为输入的C和Java代码,并检测程序中的串行和并行组件。我们的系统首先通过基于正则表达式模式匹配来解析程序来识别功能块。然后,开发的系统构造依赖关系图。在依赖图中,块被视为节点,边是节点之间的交互。在本文中,我们考虑了四种依赖项,例如流依赖项,事前依赖项,输出依赖项和控制依赖项。从依赖关系图中,我们计算拓扑顺序,以找到功能或块的串行并行执行序列。我们进行了几次实验,发现我们的系统可以有效地检测程序中的串行和并行组件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号