探讨了 Windows 中断机制,设计了一个优先级高于系统时钟中断的实时时钟。通过对实验测试数据的分析,在没有其他中断的情况下,新的时钟系统可以提供一个最小精度为100μs 的实时时钟。最后,提出了一个利用新的实时时钟实现 Windows 实时拓展的设计实例。
Abstract
The interrupt mechanism of Windows was discussed in this paper
and a real-time clock with higher priority than the system clock interrupt was designed by using the interrupt priority mechanism in Windows.Tests and analysis results show that the new clock system is able to provide a hard real-time clock with minimum accuracy of 100 μs under the condition that no other interrupts happen.Finally
a design based on the new clock system to improve the real-time performance of Windows is put forward.