摘要
时空一致性是分布交互式仿真的关键问题,联网仿真的计算机之间的的时间同步必须达到一定的精度,而计算机的时钟分辨率是制约仿真系统时间同步精度的重要因素。在W indows2000/NT操作系统下PC机系统时钟的分辨率较低,且时间漂移率较高,因此在使用PC机和W indows2000/NT操作系统的分布交互式仿真系统中,如果使用系统时钟,时间同步精度不可能很高,如果为每台PC机加装高性能外部时钟的话,不但会增加系统成本,而且也不利于系统扩展。该文提出了一种基于PC机性能计数器的高分辨率、低时间漂移时钟的设计方案,解决了分布交互式仿真系统基于PC机自身资源获取高性能时钟的问题。
In distributed interactive simulation systems, time/space coherence is one of the key factors. The time synchronization accuracy between the computers must be reached to some degree, and the time resolution of computer g clock is the main factor that restricts the time synchronization accuracy. Because Windows 2000/NT's system time resolution is insufficient and time drift ratio is high, the time synchronization accuracy in distributed interactive simulation systems which use PCs and Windows 2000/NT cant be very good if using the system time, and if installing a external high performance clock for each PC to get high time synchronization, the cost will increase and the system's scalability will be downgraded. In this paper, a new project based on PC's performance counter is raised. The new clock's time resolution is high and the time drift ratio is low, as a result,the problem of getting a high performance clock based on the resource of PC's is resolved.
出处
《计算机仿真》
CSCD
2006年第5期115-118,共4页
Computer Simulation
关键词
性能计数器
频率漂移
时间漂移
Performance counter
Frequency excursion
Time excursion