作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (10): 87-89. doi: 10.3969/j.issn.1000-3428.2007.10.031

• 软件技术与数据库 • 上一篇    下一篇

图形化编程中模块间并行性的自动挖掘

尹华祥1,2,丁玉磊2,徐 铸2,洪学海2,刘金刚1,冯圣中2,邱振戈2   

  1. (1. 首都师范大学计算机应用联合研究院,北京 100037;2. 中国科学院计算技术研究所国家智能计算机中心,北京 100080)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-05-20 发布日期:2007-05-20

Automatic Mining of Parallelism Between Modules in Graphic Programming

YIN Huaxiang1,2, TING Yulei2, XU Zhu2, HONG Xuehai2, LIU Jingang1, HONG Shengzhong2, QIU Zhenge2   

  1. (1. Joint Academy of Computer Application, Capital Normal University, Beijing 100037; 2. National Center of Intelligent Computer, Institute of Computer Technology, Chinese Academy of Sciences, Beijing 100080)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-05-20 Published:2007-05-20

摘要: 在基于模块组合的图形化编程中,存在大量互不依赖的模块,这些模块具有并行执行的性质。翻译程序以拓扑排序算法遍历该有向无环图,为每个模块产生一个线程,为每条输入线产生一个信号量,以同步有依赖关系的模块的执行顺序,最终产生一个可并行执行的多线程程序,从而达到自动挖掘并行性、提高所生成程序的运行效率的目的。

关键词: 图形化编程, 自动挖掘, 多线程, 并行性

Abstract: In graphic programming based on module composition, there are many modules which are independent of each other and can be executed in parallel. The translating program traverses the DAG, generates a thread for every module, and generates a semaphore for every arc in order to synchronize the executing sequence of the modules which are dependent on each other, then generates a multithread program, which runs in parallel more efficiently at last.

Key words: Graphic programming, Automatic mining, Multithread, Parallelism

中图分类号: