首页 | 本学科首页   官方微博 | 高级检索  
     检索      

用于并行调试环境的改进的物理时钟算法
引用本文:林贻珀,钱希,陈文光,沈美明,郑纬民.用于并行调试环境的改进的物理时钟算法[J].清华大学学报(自然科学版),2006,46(7):1286-1288.
作者姓名:林贻珀  钱希  陈文光  沈美明  郑纬民
作者单位:清华大学,计算机科学与技术系,北京,100084
基金项目:高比容电子铝箔的研究开发与应用项目
摘    要:为满足并行调试需要,时钟模型必须既能保证事件之间的逻辑顺序,又能为性能调试提供时间戳。现有的基于事件的物理时钟同步算法在时间戳上可能存在较大误差,为了降低误差,对现有算法进行改进。改进的算法依次对时钟偏移误差最大的局部时钟进行调整,调整的依据是两个节点之间消息的发送和接收具有对等性,调整的时候考虑了该进程和其它所有进程之间的通信传输。模拟结果表明:该算法以较小的时间代价,减少了90%左右的误差。该算法可以解决并行调试环境中的时钟同步问题。

关 键 词:时钟研究  并行调试  时钟同步  物理时钟
文章编号:1000-0054(2006)07-1286-03
修稿时间:2005年4月30日

Algorithm for synchronizing physical clocks in a parallel debugging environment
LIN Yipo,QIAN Xi,CHEN Wenguang,SHEN Meiming,ZHENG Weimin.Algorithm for synchronizing physical clocks in a parallel debugging environment[J].Journal of Tsinghua University(Science and Technology),2006,46(7):1286-1288.
Authors:LIN Yipo  QIAN Xi  CHEN Wenguang  SHEN Meiming  ZHENG Weimin
Abstract:In a parallel debugging environment,a synchronized clock is required to maintain the partial order among distributed events while keeping the local real time as the event timestamp.Currently used event-based physical clocks may distort the real times.The improved algorithm adjusts the local physical clock based on the time differenes using the fact that message sending and receiving between two nodes is equivalent.The algorithm also analyzes communications between local processes and all other processes.Simulation results show that the improved algorithm reduces the error by about 90%.The algorithm can be used to solve clock synchronizing problems in parallel debugging environments.
Keywords:clock research  parallel debugging  synchronization  physical clock
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号