资 源 简 介
多媒体计时器能编程设定1毫秒或更小,是诸如MIDI序列发生器之类的专用型应用程序的理想选择,但是它们也招致了更多的开销,并且会对系统上正运行的其他程序造成负面影响。其实,在Windows API中有很多提供时钟查询的函数,利用它们就可以编写自己的高精度计时器了。类CMicroSecond和Celapsed就是用Windows API编写的2个高精度计时器-multimedia timer can be programmed to set a millisecond or less, such as MIDI sequence generator such as dedicated application-an ideal choice, but they have also incurred additional expenses, which would systems are running on the other procedures have a negative impact. In fact, the Windows API has many inquiries clock function, it can use them to create their own high-precision timer of. Category CMicroSecond and Celapsed Windows API is used to prepare the two high-precision timer